Overview
This node acts as a trigger that starts a workflow when a Lola Command is received via a webhook. It listens for incoming POST requests containing Lola Command data and categorizes the data into three types: text messages, commands, and interactive lists. Each type of data is then output through separate channels for further processing in the workflow. This node is useful for automating responses or actions based on Lola Command inputs, such as handling user commands, processing text messages, or managing interactive list selections.
Use Case Examples
- Automate customer support workflows by triggering actions when specific Lola Commands are received.
- Process and route different types of Lola Command inputs (text, commands, interactive lists) to different parts of a workflow for specialized handling.
- Integrate Lola Command inputs into a larger automation system to respond dynamically to user interactions.
Output
JSON
msg- Output for Lola Command text messageslist- Output for Lola Command interactive list selectionscmd- Output for Lola Command commands
Dependencies
- Requires an API key credential for Lola API authentication to register and manage the webhook.
Troubleshooting
- If the webhook registration fails, ensure the provided Lola API key credential is valid and has the necessary permissions.
- If no data appears on outputs, verify that the incoming webhook payload contains a recognized 'type' field with values 'text', 'command', or 'interactiveList'.
- Check that the webhook URL configured in Lola matches the URL generated by the node to ensure proper webhook triggering.