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 defined in the event and used by the task. To view or edit the structure of the selected table, position your cursor in the field and click . See Tables: The Essentials for more information. Note: To use a table that is different from the table defined in the event, add a Call a process step. |
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: |