The “Check ongoing conversation” action is designed to determine whether an exchange of messages has occurred between the agent, traveler, and/or robot in a conversation within a specified time frame. This action helps define the next steps based on the result of the verification and can be added at any point in the workflow.
Practical example:
When setting up this action in the workflow before sending a message, AskFlow will verify whether an agent has sent any message in the chat within the last 30 minutes. If an interaction has occurred, the message will not be sent to avoid interrupting an ongoing conversation. If no interaction has taken place, the message will be sent as planned.
Steps to Set Up the Action in the Workflow:
1. Go to the AskFlow menu.
2. Click the “Workflows” menu.
3. Edit an existing workflow or click “Add workflow.”
4. If creating a new workflow, assign it a name and click “Create workflow.”
5. Click the “Initial condition” block and define the conditions that contacts must meet to enter the workflow. Save the block when done.
6. Add any necessary steps before configuring the action to check for ongoing conversations. For example, include a wait time block to define when contacts should progress in the workflow.
Note: Ensure all new blocks in the workflow are properly connected.
7. Drag a “Take action” block to the workflow. Select the “Asksuite” integration > the connection (e.g., WhatsApp account) > and the “Check ongoing conversation” action. ⭐Tip: Rename the block for easier identification within the workflow.
8. Then, in the “Reference date” field, select “Date” and the “Execution date” option.
9. Under “Period action,” choose “Set earlier date” and specify how far back AskFlow should check for an interaction.
For instance, if the message is scheduled for 5:45 p.m., setting a 1-hour period will prompt AskFlow to check for any messages sent between 4:45 p.m. and 5:45 p.m.
10. In the “Messages sent by” field, choose the desired option (e.g., agent, robot, traveler, or others). In the given example, only messages sent by an agent within the specified period are considered.
11. Click “Save block” to finalize the setup.
12. Insert a “Condition” block and select the field that corresponds to the block checking the ongoing conversation (this field ends with “- result”).
⭐ Tip: Rename the block for easier identification in the workflow.
13. Select the “equal” condition and in “Data” type YES (in this exact format). When finished, save the block.
14. Set up the workflow paths based on the condition's result:
- True: If there was an interaction in the conversation.
- False: If there was no interaction.
For more details, refer to the guide on how each block in the workflow editor functions.
15. When you finish building the workflow, activate it and click “Save”.
Comments
0 comments
Please sign in to leave a comment.