N8nFront Trigger
AI-generatedSummary
Trigger workflows upon receiving specified events from N8nFront chat, including messages, documents, photos, voice messages, video notes, and callback queries from inline buttons.
Inputs
- Events — Select one or more event types to trigger the workflow for: 'message' (text messages), 'document' (files sent by users), 'photo' (images sent by users), 'voice' (voice messages), 'video_note' (video notes), and 'callback_query' (inline button presses). Defaults to ['message'].
Output shape
A single output that returns the event payload as JSON each time a configured event occurs.
The trigger only fires for events selected in the 'Events' parameter. For messages, the node differentiates between text messages and other media types, triggering only if the media event type is enabled. The returned data is structured as the raw webhook payload from N8nFront containing details of the user event.
Examples
Example 1: Receive a text message event from a user
Set Events to include 'message'. The workflow triggers when a user sends a text message.
Example 2: Trigger on user uploading a photo or pressing an inline button
Set Events to include 'photo' and 'callback_query'. The workflow triggers when a user sends a photo or interacts with an inline button.