Botomat Trigger icon

Botomat Trigger

מתחיל את התהליך כאשר מתקבל מייל חדש

Botomat Trigger

AI-generated

Summary

Listen for incoming email events via a Botomat webhook by selecting an existing email source or creating/selecting one by name to receive webhook triggers.

Inputs

  • mode (required) — Choose between selecting an existing email source or creating/selecting one by name automatically.
  • sourceId (required) — Select the existing email source to listen to; required if mode is 'existing'.
  • newSourceName (required) — Specify the name of the email source to create or select; used if mode is 'create'.

Output shape

A single webhook trigger containing JSON with keys: body (request payload), headers (HTTP headers), and query (query parameters).

The webhook listens for POST requests from Botomat linked to the selected or created email source. The node returns the full request data inside a single item.

Examples

Example 1: Trigger on an existing Botomat email source

Set mode to 'existing' and select a sourceId from the loaded list of your Botomat email sources.

Example 2: Trigger on a newly created or existing named email source

Set mode to 'create' and provide a newSourceName. The node will create the email source if it does not already exist or reuse it if it does.

Discussion