Skip to main content

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

SampleDescriptionNodes Used
AI Support BotClassifies and routes customer support tickets with AIAI Task, If/Else, Email, Input, Output
Email RoutingRoutes incoming emails to the right team based on contentAI Task, If/Else, Email, Script
Data PipelineFetches, transforms, and stores data from an external APIREST API, Script, SQL, Loop

How to Import a Sample Flow

  1. Copy the JSON definition from the sample page
  2. In the apptor flow UI, navigate to your workflow list
  3. Click Create WorkflowImport JSON
  4. Paste the JSON and confirm
  5. The workflow opens in the designer — update integration IDs and connection references
  6. Test in DEVELOPMENT environment before publishing

Before Running Any Sample

All samples use placeholder integration IDs. Before executing:

  1. Create the required integrations in your organization (see each sample's Prerequisites section)
  2. Replace placeholder connection IDs in node properties with your actual integration IDs
  3. Set up any required secrets ({env.OPENAI_API_KEY}, etc.)
  4. Test with the ?environment=DEVELOPMENT parameter first

Variable Conventions Used in Samples

All samples follow these naming conventions for clarity:

ConventionExampleMeaning
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