Lola Command Trigger
AI-generatedOverview
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, command, and interactiveList. Each type of data is then output through separate outputs for further processing in the workflow. This node is useful for automating responses or actions based on Lola Commands received from an external system.
Use Case Examples
- Automate customer support workflows triggered by specific Lola Commands.
- Process and route different types of Lola Command messages (text, command, interactive list) to different parts of a workflow for specialized handling.
Output
JSON
msg- Output containing Lola Command data of type 'text'.list- Output containing Lola Command data of type 'interactiveList'.cmd- Output containing Lola Command data of type 'command'.
Dependencies
- Requires an API key credential for Lola API authentication to register and manage the webhook.
Troubleshooting
- Ensure the Lola API key credential is correctly configured and has the necessary permissions to register and delete webhooks.
- If the webhook registration fails, verify the webhook URL is accessible and correctly set in the Lola system.
- Check the incoming webhook payload structure matches expected types ('text', 'command', 'interactiveList') to avoid empty outputs.