Custom Trigger
The Custom Trigger component lets you create personalized triggers within your flow, starting actions based on user-defined events or messages.

Component description
How the Custom Trigger component works
Custom Trigger Component
The Custom Trigger component is designed to serve as a user-defined entry point within an AI workflow. It enables the workflow to be initiated or activated based on a custom trigger specified by the user. This makes it a flexible component for integrating external events or manual triggers into automated processes.
Purpose and Usefulness
This component is especially useful when you need your AI workflow to respond to specific, user-defined events or conditions, rather than just following a fixed sequence. By defining a trigger name, you can create workflows that start in response to external signals, user actions, or custom logic, making your AI processes more interactive and responsive.
Inputs
Name | Type | Required | Description |
---|---|---|---|
input_value | Message | No | Message to be passed as input. |
trigger_id | String | Yes | The name of the custom trigger to activate. |
- input_value:
- Accepts an optional message input.
- Can be used to pass context or data into the workflow when the trigger is activated.
- This field is not required and is hidden in the UI by default.
- trigger_id:
- A required string field visible in the UI.
- Specifies the unique name of the custom trigger that will initiate the workflow.
Outputs
Name | Type | Description |
---|---|---|
message | Message | Output message after triggering. |
- message:
- The primary output of this component.
- Emits a Message type object in response to the trigger activation.
- This allows downstream components to process the triggered event and any associated input.
Key Features
- Customizable Trigger: Allows users to define their own trigger points in the workflow.
- Flexible Input Handling: Supports optional message input for additional context or data.
- Traceability: Both input value and trigger ID can be traced as metadata for auditing or debugging purposes.
Example Use Cases
- Start a chatbot session when a user clicks a button on a website.
- Trigger an AI process when a specific event occurs in a third-party system (e.g., new email received).
- Manual workflow initiation by an administrator or power user.
Summary
The Custom Trigger component is a versatile building block for creating dynamic, event-driven AI workflows. By allowing external or user-defined events to start processes, it increases the interactivity and adaptability of your automation pipelines.
Examples of flow templates using Custom Trigger component
To help you get started quickly, we have prepared several example flow templates that demonstrate how to use the Custom Trigger component effectively. These templates showcase different use cases and best practices, making it easier for you to understand and implement the component in your own projects.
Frequently asked questions
- What does the Custom Trigger component do?
The Custom Trigger component lets you define and activate specific trigger points in your workflow, allowing the flow to start or branch based on custom events or user actions.
- How do I use a Custom Trigger in my flow?
Simply add the Custom Trigger to your workflow, give it a unique trigger name, and connect it to the actions or components you want to activate when the trigger is fired.
- Can I pass messages or data with a Custom Trigger?
Yes, the component supports passing messages as input, enabling you to send contextual information along with the trigger event.
- Is technical knowledge required to set up a Custom Trigger?
No advanced technical skills are needed. Just define the trigger name and connect it as needed—FlowHunt handles the rest.
- What kinds of workflows benefit from Custom Triggers?
Custom Triggers are ideal for interactive bots, event-driven automations, and any scenario where you need precise control over when and how actions in your workflow are initiated.
Explore Custom Triggers
Start building flows that react to your own triggers. Add the Custom Trigger component and take control of your workflow logic with FlowHunt.