How Can We Help?
Invalid message
There is a default hard-coded invalid message for the automation bot, however you may choose to replace this with your own. This is an example template.
This is shown when an end user attempts to message the bot.
The template is stored in the InvalidMessageCard field of the Tenants table.
Required Settings
Setting | Value |
---|---|
n/a | |
SQL Query
Text
n/a
Example Data Model
Text
n/a
Example Card Template
Basic format to be customised
Text
{
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.5",
"type": "AdaptiveCard",
"originator": "OriginatorIdPlaceholder",
"body": [
{
"type": "Container",
"backgroundImage": {
"url": "https://cdn.modalitysystems.com/TeamworkAnalytics/Automation/Backgrounds/header_lightblue.png"
},
"items": [
{
"type": "ColumnSet",
"columns": [
{
"type": "Column",
"items": [
{
"type": "Image",
"url": "https://cdn.modalitysystems.com/Icons/ic_fluent_bot_add_filled.png",
"altText": "brand icon",
"size": "Small"
}
],
"width": 30
},
{
"type": "Column",
"items": [
{
"type": "TextBlock",
"text": "Teams Status",
"horizontalAlignment": "Right",
"wrap": true,
"color": "Dark",
"size": "Small"
},
{
"type": "TextBlock",
"text": "Sorry, I don't understand your message",
"horizontalAlignment": "Right",
"spacing": "None",
"size": "Large",
"color": "Attention",
"wrap": true,
"weight": "Bolder"
}
],
"width": 70
}
]
}
]
},
{
"type": "TextBlock",
"text": "This is not an interactive service and I don't understand your response. If you require support please try the links below.",
"wrap": true,
"separator": true
},
{
"type": "TextBlock",
"text": "Demo text/links - to be replaced once agreed.",
"wrap": true
},
{
"type": "ActionSet",
"actions": [
{
"type": "Action.OpenUrl",
"title": "Teams Support",
"url": "https://support.microsoft.com/en-us/teams"
}
]
}
]
}
Example output
![](/wp-content/uploads/2024/07/image-1.png)