Workflow Automation Guide
Sophon's Workflow Builder lets you create complex automations without writing code. In this guide, we'll build a morning briefing workflow from scratch.
The Morning Briefing
Our goal: every weekday at 7 AM, Sophon checks your calendar, summarizes unread emails, and sends a briefing to WhatsApp.
Building It Visually
1. Open the Workflow Builder at /workflows in the Dashboard
2. Drag a Cron Trigger onto the canvas
3. Set the schedule: 0 7 * * 1-5 (weekdays at 7 AM)
Adding Nodes
4. Drag a Run Skill node and connect it to the trigger
- Configure: calendar.today
5. Drag another Run Skill node in parallel
- Configure: email.unread
6. Drag a Merge node to combine both outputs
7. Drag an LLM Prompt node
- Prompt: "Summarize today's schedule and important emails: {{ $node.merge.output }}"
8. Drag a Send Message node
- Channel: WhatsApp
- Body: {{ $node.llm.output }}
Expressions
Use mustache-style expressions to pass data between nodes:
{{ $node.n1.output }} // Output of node n1
{{ $vars.counter + 1 }} // Variable arithmetic
{{ $trigger.body.event }} // Trigger payload
Building It with AI
Or just ask your agent:
> "Create a workflow that checks my calendar and email every weekday morning at 7 AM and sends a summary to WhatsApp"
Sophon generates the workflow JSON, shows you a human-readable summary, and lets you approve, edit in the visual builder, or cancel.
Available Triggers
- Cron Schedule — Run on a time schedule
- Webhook — Triggered by HTTP POST
- Channel Message — When a message matches a pattern
- Email Received — When new email arrives
- File Change — When a document is uploaded
- Manual — Triggered by user action
- Agent Request — Triggered by agent tool call
- Explore the 20+ node types in the palette
- Try sub-workflows for complex automations
- Check out the bundled templates for inspiration
Approval Gates
For sensitive actions, add an Approval node. The workflow pauses, sends you the proposed action, and waits for your approve/reject decision.