
-
Action: Select the trigger interval
- Account: No need to select anything here (as it is not required for cron trigger)
-
Configure: Configure the trigger
Node Inputs
In Daily, Weekly, Monthly:- Select Time: Time of day to trigger (HH:MM)
- Type:
Text
- Type:
- Cron Expression: Custom cron expression
- Type:
Text
- Type:
Node Parameters
On the face of the node:- Enable Automation: Enable the automation to run the pipeline when the trigger event happens.
- Type:
Toggle
- Type:
- Select schedule type: Select the schedule type. The available options are
Daily
,Weekly
,Monthly
,Custom Cron Expression
.- Type:
Dropdown
- Type:
- Select Timezone: The timezone for the trigger. The available options are listed here Time Options. The default option is
UTC
.- Type:
Dropdown
- Type:
- Trigger On Weekends: Trigger the pipeline on weekends
- Type:
Boolean
- Type:
- Select Day of the week: Day of the week to trigger
- Type:
Dropdown
- Type:
- Select Day of the month: Day of the month to trigger
- Type:
Dropdown
- Type:
Node Outputs
- Timestamp: The timestamp of the cron trigger
- Type:
Text
- Example usage:
{{trigger_0.timestamp}}
- Type:
Considerations
- The trigger node will only work if the pipeline is deployed and the
Enable Automation
parameter is set totrue
.
Example
The below example is a pipeline which send an email every minute to the email address answering the question:What is the tallest builiding in NY?
- Cron Trigger Node: The cron trigger node
- Cron Expression:
* * * * *
- Enable Automation:
true
- Cron Expression:
- Text Node: Question to answer with the current timestamp
- Text:
What is the tallest builiding in NY? {{trigger_0.timestamp}}
- Text:
- LLM Node: Uses the LLM to answer the query and write the email body
- System (Instruction):
Write an email answers the question based on Context. Only write the email body, not the subject
- Prompt:
Question: {{text_0.text}}
- System (Instruction):
- Gmail Node: Sends the generated email
- Action:
Send Email
- To:
sample@vectorshift.ai
- Subject:
{{trigger_0.timestamp}}
- Body:
{{openai_0.response}}
- Action:

