Sample Flows
Ready-to-import workflow examples demonstrating real-world use cases.
About the Sample Flows
Each sample flow is a complete, production-ready workflow definition that you can import into apptor flow and adapt to your needs. They demonstrate:
- How to structure multi-step workflows
- How to connect AI Tasks with Tool nodes
- How to handle errors and edge cases
- How to use human Input/Output nodes in interactive flows
- How to pass variables between nodes
Available Samples
| Sample | Description | Nodes Used |
|---|---|---|
| AI Support Bot | Classifies and routes customer support tickets with AI | AI Task, If/Else, Email, Input, Output |
| Email Routing | Routes incoming emails to the right team based on content | AI Task, If/Else, Email, Script |
| Data Pipeline | Fetches, transforms, and stores data from an external API | REST API, Script, SQL, Loop |
How to Import a Sample Flow
- Copy the JSON definition from the sample page
- In the apptor flow UI, navigate to your workflow list
- Click Create Workflow → Import JSON
- Paste the JSON and confirm
- The workflow opens in the designer — update integration IDs and connection references
- Test in DEVELOPMENT environment before publishing
Before Running Any Sample
All samples use placeholder integration IDs. Before executing:
- Create the required integrations in your organization (see each sample's Prerequisites section)
- Replace placeholder connection IDs in node properties with your actual integration IDs
- Set up any required secrets (
{env.OPENAI_API_KEY}, etc.) - Test with the
?environment=DEVELOPMENTparameter first
Variable Conventions Used in Samples
All samples follow these naming conventions for clarity:
| Convention | Example | Meaning |
|---|---|---|
| Input variables | {customerName}, {ticketMessage} | Passed in execution data |
| AI outputs | {classification}, {aiResponse} | Set by AI Task |
| Service outputs | {serviceTaskResponse} | Set by Service Task |
| Derived variables | {formattedTotal}, {emailSent} | Computed in Script/Set Variable |