Send a message
The Message node, within the flow of a topic, sends a message from the copilot to the user. Messages can be simple text messages, but can also include richer components, such as images, videos, quick replies, and cards.
Tip
All capabilities of the Message node are also available to the Question node.
Tip
Rename nodes to make them easier to identify. Select the node's name field to update the name directly, or select the More icon (…) of the node and select Rename from the menu. You can also rename nodes in the code editor.
It's not possible to rename Trigger nodes and Go to step nodes.
Node names can be up to 500 characters in length.
Prerequisites
To work with a message node, you need a copilot and a topic created. To understand how topics works, see Create and edit topics.
If you need to create a new copilot, see Quickstart: Create and deploy a copilot.
Send a text message
Open any topic, then select "+" Add node and choose Send a message to add a new message node.
In the text box, enter the message you want the copilot to send.
Optionally, use the tools in the node's menu bar to add basic formatting, variables, and message variations.
Use message variations
When you add message variations, the copilot randomly picks one of them to use each time the node is triggered.
Add a message variation
In the node's menu bar, select Add, and then select Message variation.
Enter what you want the copilot to say in the text box. Selecting outside of the Message node adds your variation to the list of messages.
Repeat these steps to add as many variations as you like.
Remove a message variation
Select a Message node with a variation.
Select the Remove variation icon next to the variation you want to remove.
Add an image
To add an image, you need one hosted through a URL.
In the node's menu bar, select Add and choose Image.
Under Image, enter the URL of your image.
Optionally, enter a Title for the image.
Add a video
In the node's menu bar, select Add, and then select Video.
Under Media URL, enter the URL of your video. The URL can either be a direct link to a publicly accessible MP4 file or a YouTube URL.
Optionally, enter a Title, Subtitle, Image URL (the URL of a publicly accessible image file), or Text to be shown alongside the video on the card. You can also add one or more buttons, which have the same properties as quick replies.
Add a basic card
A basic card is a general-purpose card used for adding text, images, and interactive elements to a copilot response message.
In the node's menu bar, select Add, and then select Basic card.
In the Basic Card properties pane, fill in the properties for the content of your card. You can also add one or more buttons, which have the same effect as quick replies.
Add an Adaptive Card
Adaptive Cards are platform-agnostic cards that you can customize. You can design Adaptive Cards using the Adaptive Cards Designer or author the JSON directly.
Important
Copilot Studio supports AdaptiveCard schema version 1.3 or lower.
In the node's menu bar, select Add, and then select Adaptive card.
Under Edit JSON of the Adaptive Card properties pane, enter the JSON for your card.
To open a larger view of the JSON editor, select the Expand icon.
Adaptive card example
If a message node informs users of your store's hours, you might create an adaptive card showing the hours with an image of the store.
View multiple cards in the same node and remove a card
If you add two or more cards to a node, two display options appear in the node menu of a selected card:
- Carousel displays one card at a time.
- List displays all cards in a vertical list.
To remove a card from a node, select the Remove icon (trash can) at the upper-right corner of the item.
Use quick replies
Important
Not all channels support quick replies, which disable them for the user.
Some channels limit the number of quick replies shown at once.
Add quick replies to a message suggests responses or actions for the user. Actions taken by the user get sent back to the copilot.
If the user chooses a quick reply text option, it gets shown in the chat history. The quick reply buttons are removed from the chat history when the copilot or user sends another activity.
Users can choose to use a quick reply or ignore it by typing directly in the chat. To require the user to choose an option from a list, use a multiple-choice Question node instead.
Add a quick reply
In the node's menu bar, select Add and choose Quick reply.
In the Quick replies box on the Message node, enter the text for one or more quick replies and press Enter.
Change quick reply type
You can change the properties of quick replies to use other types of actions.
Select the Quick replies box or an individual quick reply to open the Quick Replies properties pane.
Select a value for Type:
- Send a message (default): Send a message to the copilot and show it in the chat history.
- Open URL: Open a URL. The URL must start with
https://
. - Make a call: Call a phone number. Your entry must be in the format
tel:1234567890
. - Send a hidden message to the copilot: Send a message to the copilot, but hide it from the chat history.
The properties that are shown change based on the type of quick reply you selected. More options can be found under Advanced options.
Add a speech message override
On voice-enabled channels such as Omnichannel for Customer Service, the message text is used for both text display and voice. However, you can override the text message with a different one for speech.
Select a Message node. In the upper-right corner, select Text, and then select Speech.
Add a message variation to the Message card. You see the menu bar changes.
Enter what you want the copilot to say. Add as many variations for the speech response as needed.
Optionally, add SSML to your message variations to control how the copilot speaks the message.
Use SSML to customize speech responses
Speech Synthesis Markup Language (SSML) is an XML-based markup language that specifies how text is converted into synthesized speech. SSML is one of the many ways Copilot Studio makes your copilot's responses sound like natural speech.
In the Message node menu bar, select SSML tags, and then select the tags you want to add. You can add multiple tags to a single speech variation.
SSML tag | Description |
---|---|
Audio | Add prerecorded audio. |
Break | Insert pauses or breaks between words. |
Emphasis | Add levels of stress to words or phrases. |
Prosody | Specify changes to pitch, contour, range, rate, and volume. |
SSML example
Tip
You can manually enter SSML tags that don't appear in the helper menu. To learn more about other tags you can use, see Improve synthesis with Speech Synthesis Markup Language.