Lola Command Trigger v2 icon

Lola Command Trigger v2

Starts the workflow on a Lola Command is received.

Lola Command Trigger v2

AI-generated

Overview

This node acts as a trigger for workflows based on receiving commands from Lola Command. It listens for incoming webhook POST requests containing Lola Command data and starts the workflow accordingly. It is useful for automating processes that depend on Lola Command inputs, such as handling text messages, commands, or interactive list selections from Lola.

Use Case Examples

  1. Trigger a workflow when a Lola Command text message is received to process and respond automatically.
  2. Start a workflow upon receiving a Lola Command interactive list selection to update a database or notify a user.
  3. Automate command handling by triggering workflows on specific Lola Command inputs for integration with other systems.

Output

JSON

  • msg - Output data for Lola Command text messages
  • list - Output data for Lola Command interactive list selections
  • cmd - Output data for Lola Command commands

Dependencies

  • Requires an API key credential for Lola API authentication to register and manage the webhook.

Troubleshooting

  • Ensure the webhook URL is correctly registered with the Lola API; otherwise, the trigger will not activate.
  • If no data appears in outputs, verify that the incoming webhook payload matches expected Lola Command types ('text', 'command', 'interactiveList').
  • Check API key credentials are valid and have necessary permissions to register and delete webhooks.

Discussion