Add cards to messages
Cards can display a variety of visual messages. With this feature, it is possible to show a carousel of cards containing an image, a text description, and a selection button.
You can create cards directly in IBM RPA Studio or import them from a .xlsx
file. These cards and buttons can perform actions.
The following table shows the supported actions:
Action | Description | Value |
---|---|---|
DownloadFile |
Download a file. | The URL of the file to be downloaded. |
ImBack |
Sets the defined text as the card or button action value, and sends the text to the user. | The text to be sent. |
OpenURL |
Opens a URL in the browser. | The URL to open. |
PlayVideo |
Plays a video. | The URL of the video to play. |
PlayAudio |
Plays an audio file. | The URL of the audio to play. |
PostBack |
Sets the defined text as the card or button action value, but does not send it in the chat to the user. | The text to be sent. |
ShowImage |
Displays an image. | The URL of the image to be displayed. |
SignIn |
Starts an OAuth login process. |
The URL of the OAuth stream to start. |
To import an .xlsx
file with the cards and buttons data, you need the following structure:
Card Title | Card Subtitle | Card Text | Thumbnail URL | Card Action | Card Action Value | Button Action | Button Text | Button Action Value |
---|---|---|---|---|---|---|---|---|
<CARD TITLE> |
<CARD SUBTITLE> |
<CARD TEXT> |
<THUMBNAIL URL> |
<CARD ACTION> |
<CARD ACTION VALUE> |
<BUTTON ACTION> |
<BUTTON TEXT> |
<BUTTON ACTION VALUE> |