Lead2Chat Trigger icon

Lead2Chat Trigger

Starts the workflow when Lead2Chat events occur

Lead2Chat Trigger

AI-generated

Overview

The Lead2Chat Trigger node starts an n8n workflow when specific Lead2Chat events occur. It is designed to listen for webhook events from Lead2Chat related to a selected team and phone number. This node is useful for automating processes triggered by incoming chat events or messages in Lead2Chat, such as notifying a team, logging chat data, or integrating with other systems.

Use Case Examples

  1. Trigger a workflow when a new chat message is received by a specific team and phone number in Lead2Chat.
  2. Automatically log chat events from Lead2Chat into a CRM system when the webhook fires.

Properties

Name Meaning
Hallo! A notice or informational message displayed in the node UI.
Authentication Selects the authentication method for the Lead2Chat API, currently only 'Integration' is supported.
Dein Team Select the Lead2Chat team to monitor for events. Can be selected from a list or specified by ID.
Deine Telefonnummer Select the phone number associated with the Lead2Chat session to monitor. Can be selected from a list or specified directly.

Output

JSON

  • body - The JSON payload received from the Lead2Chat webhook event.
  • headers - HTTP headers received with the webhook request.
  • query - Query parameters received with the webhook request.

Dependencies

  • Lead2Chat API accessed via an API key credential for authentication.

Troubleshooting

  • Webhook creation may fail if the provided phone number or team ID is invalid or missing.
  • If the webhook does not trigger, verify that the webhook URL is correctly registered in Lead2Chat and that the node has the correct credentials.
  • Errors during webhook existence check or deletion may indicate connectivity issues or invalid webhook IDs.

Discussion