Once you have created and launched your bot on Teams, the next step is to start building your message.
When you go to your message list, you will have your Welcome Message already created and ready to edit. Click the message title or edit button to go into the message to start updating. Once you have done that, you will see the message builder:
As you can see, you have the title at the top - you can change this at any time so don't feel you have to have the precise title straight away. It's good practice to keep your title clear though, so you can find it easily later in the message list later on.
On the left you have your preview panel, which shows you what your bot will look like as your build.
On the right, you have your message parts panel. Here's what each message part does:
You can hover over media to add images to your bot. An image message part can consist of either a jpg, gif or png. Images must not exceed 1024 ×1024 px or 1 MB. Unfortunately, animated gifs are currently not supported on Teams. Once you click on "Image" a grey image will come up. Simply click on that to upload any image from your drive.
Text parts allow you to add text to your bot. You can also add emojis to your text parts by clicking on the smiley face on the right hand side.
You can add more than one text part to your message, although we recommend not going over five as it might annoy the user with too many pings.
A carousel is often used to contain the main topics and top strands of your conversation which we refer to as the Main Menu. A carousel can have a maximum of 10 cards. Each card has to have an image and a title. We also suggest that it has a subtitle and a button. The title and the subtitle can have a maximum of 80 characters each. Each card can have a maximum of 6 buttons. A carousel image should have an aspect ratio of 16:9 and not be more than 420px wide.
A delay is the short space of time between text messages on the screen that will allow the user a few seconds to read the messages. The delay is in milliseconds so 1000 would be 1 second. Calculating delays doesn't have to be difficult - we recommend using 1000 for every line of text in your text message part.
Q&As can be used for surveys or quizzes and allows a user to use free text rather than multiple choice – useful for gathering an address or specific feedback. You can find out how to set this up here.
Hovering over Attributes allows you to select a set or clear attributes part. Attributes are a great way to save user data to the bot database. You can add this message part to any message where you want to log where the user has been within the bot. For example, you could set an attribute in the final message of a survey so you know which user has completed it. You can find out more about attributes here.
The webhook message part allows you to do some more advanced work with your bot. We recommend you contact us to talk through any projects that involve webhooks or middleware so we can help to come up with the best solution.