For example, if an employee sends a request for a new chair (the event), you can configure the bot to send a Chat message to their manager requesting approval before fulfilling the request.
Add and configure the Send a Chat message task by performing the following steps:
- Add the Send a Chat message task to a bot, as described in Add a task to a bot.
- Configure the Send a Chat message task by using the settings described in the table below.
- When you are done, save the app by selecting one of the following:
- Save - Save the app.
- Save & verify data - Save the app and verify that it is runnable based on external dependencies.
Configure the Send a Chat message task by using the settings described in the following table.
Setting |
Description |
Linking | Enable or disable reuse of this component by expanding the Linking panel and toggling the Linking setting. See Reuse automation components. |
Table name |
Table referenced by the task. Select an existing table in the list or No table. You can also select a table slice but note that if the selected slice contains a row filter, you may see failures in the task. This is because the user that triggered the automation may not have access to the row because of the slice row filter. Click Show this table to view the selected table in a dialog. See Tables: The Essentials for more information about adding tables. |
Message content |
Select one of the following in the drop-down:
Note: If you select Respond to same thread:
|
Space IDs |
Note: This setting is available if you choose Select chat spaces in the Message content drop-down.
Specify the IDs for the Chat spaces, group Chats, or direct messages to which you want to send the Chat message. Click Add and select an item from the drop-down list. Repeat to add additional IDs. |
Message text |
Chat message text. Specify text, variables, and expressions. |
Send an app view (optional) |
Optionally, you can send an app view to the Chat space as a Chat card. Note: For preview, only deck and detail views are supported from Send a Chat message tasks. For more information, see Supported view types and settings.
|
Expand and customize the Advanced settings, as described below.
Setting |
Description |
Inputs |
Add inputs to dynamically configure a task. For details, see Set input values dynamically in tasks.
Then, use the following expressions to access the input values from the current step: |