Learning Timeline
Key Insights
AI Context Consistency Tip
Use the same 'Thread ID' in this scheduled scenario so the AI Agent can reference data or conversations that occurred in your main interactive scenario.
How to Handle Dynamic Variables
When switching a trigger from 'Webhook/Telegram' to 'Scheduling', make sure to replace all dynamic variables (such as 'From ID' or 'Sender Name') with fixed (hardcoded) values, as scheduled triggers do not automatically carry user data.
Prompts
Hardcoded Daily Report Prompt
Target:
AI Agent Module
What are my open tasks?
Step by Step
Building an AI Agent Scheduling Scenario
- Open the original scenario containing the AI Agent and Telegram modules.
- Highlight both the AI Agent and Telegram modules by holding 'Shift' on your keyboard.
- Copy the modules using the 'Command+C' or 'Ctrl+C' shortcut.
- Click on the 'Scenarios' menu and select 'Create a new scenario'.
- Paste the copied modules onto the new scenario canvas.
- Click on the scenario name in the top-left corner and rename it to 'Task Manager Daily Run'.
- Click the clock icon (Scheduling) on the trigger module.
- Set the run frequency to 'Every day' and set the 'Time' to '08:30'.
- Click 'OK' to save the schedule settings.
- Click on the AI Agent module to open its settings.
- Ensure the correct 'Agent' is selected and the 'Thread ID' is maintained so the AI retains historical context.
- Delete any dynamic inputs in the 'Message' section and manually type (hardcode) the specific instructions for the daily report.
- Click 'Save' on the AI Agent module.
- Open the Telegram module and manually enter the 'Chat ID' (retrieved from the first scenario) to ensure messages are sent to the correct account.
- Click the 'Save' button (diskette icon) at the bottom of the screen to save the entire scenario.
- Toggle the 'Scheduling' switch at the bottom to 'ON' to activate the automated schedule.