Swan Trigger icon

Swan Trigger

Starts the workflow when Swan events occur

Overview

This node acts as a trigger for workflows in n8n, starting the workflow when specific Swan events occur. It listens for incoming HTTP POST requests at a defined webhook path and triggers the workflow with the received event data. This is useful for automating processes based on real-time events from the Swan service, such as notifications or updates.

Use Case Examples

  1. Trigger a workflow when a new Swan event is received to process or log the event data automatically.
  2. Use the Swan Trigger node to start a workflow that sends notifications or updates other systems when specific Swan events happen.

Output

JSON

  • body - The JSON data received from the Swan event webhook

Dependencies

  • Requires a webhook endpoint to receive Swan event data via HTTP POST.

Troubleshooting

  • Ensure the webhook URL is correctly configured in the Swan service to send events to this node.
  • Verify that the incoming HTTP POST requests contain valid JSON data, as the node expects to parse the body as JSON.
  • If the workflow does not trigger, check network connectivity and webhook registration in the Swan service.

Discussion