Triggers
Triggers define how and when a flow begins.You can configure them to start automatically, on a schedule, or through external API calls.

Triggers connect your assistant to external workflows and automation systems.
Trigger Types
Phinite supports three trigger types.1. API-Based Trigger
1. API-Based Trigger
API-based triggers allow external applications to start a specific flow.Use CaseBest For Fast, real-time executions where the response completes within seconds.
- When you need real-time activation from an external event such as a form submission or webhook.
- Requires an API key defined at the workspace level.
- Called via an HTTP POST request.
2. Scheduler-Based Trigger
2. Scheduler-Based Trigger
Scheduler-based triggers start flows at fixed intervals or specific times.Use CaseUse this for periodic automation such as daily reports, nightly data syncs, or batch processing.Configuration
- Define a start time and recurrence (hourly, daily, weekly, or custom cron).
- Ideal for long-running flows that might exceed API timeouts.
Choose the Right Trigger
| Scenario | Recommended Trigger | Reason |
|---|---|---|
| External app sends an event that needs immediate action | API-Based | Instant activation with minimal latency |
| Recurring process such as reports or sync tasks | Scheduler-Based | Prevents timeout and automates repetition |
Configure a Trigger
1
Go to Assistants → Components → Triggers.
2
Click Create Trigger.
3
Select the Trigger Type (API, Scheduler, or Manual).
4
Choose the Target Flow.
5
Set API Key or scheduling options.
6
Save and test the trigger.
Tip
Use scheduler-based triggers for long-running workflows that may exceed standard API timeout limits.
Manage Triggers
| Action | Description |
|---|---|
| Edit | Update type, frequency, or target flow |
| Pause | Temporarily disable the trigger |
| Run Now | Execute immediately for testing |
| Delete | Remove from the workspace permanently |
Workspace API Keys
API-based triggers depend on workspace-level API keys for authentication.Store and rotate keys securely. Never expose API keys in client-side or public repositories.
Best Practices
- Use API triggers for short, transactional events.
- Use Scheduler triggers for background or recurring jobs.
- Avoid attaching multiple triggers to the same flow unless needed.
- Test each trigger thoroughly in the development environment before deploying to production.