Wexa AI
  1. AI Coworker Creation
Wexa AI
  • Wexa AI
  • Use Cases and Workflows
  • API Reference
  • Troubleshooting Guide
  • Onboarding
    • Getting Started with Wexa
    • Hire your AI Coworker
  • AI Coworker Creation
    • Create your First AI Coworker
    • Process Flows
    • Creating your First Agent
    • Schedule a Process Flow
    • Executing a Process Flow
    • Settings - Input Form
    • History
  • Tables
    • Intro to Tables
    • Adding records to Tables
    • Table Triggers
  • Knowledge Base
    • Intro to Knowledge Base
  • Connectors and MCP Servers
    • Adding a New Connector
    • Adding an MCP Server
    • Setting up Connectors Triggers
  • API Endpoints
    • Project
      • create project
      • Get all projects
      • Get project
      • update project
      • Delete project
      • Get project by proiectName
    • Agentflows
      • create agentflow
      • get agentflows
      • Get agentflow by projectId and UserId
      • get agentflow by id
      • Add skilled agent to agentflow
      • Update skilled agent
    • Connectors
      • Configure connector
      • Get config
      • Retrieve linkedin params
      • get connectors by projectid
      • get connector by Id
      • Delete a connector
      • connector update status
      • get all available trigger actions
    • Skills
      • create skill
      • get skills
      • get skills by category
      • get skills by id
      • skills by name
    • Executeflow
      • create executeflow
      • get executions
      • execute agentflow
      • pause executeflow
      • resume execution
      • cancel executeflow
      • get execution by execution id
      • get execution details for monitoring
    • Actions
      • Customer
        • get customer
        • Get credit history
      • create action
      • get action
    • Files
      • Connectors and MCP Servers
      • upload files
      • get files by fileid
      • get connector by fileid
      • get files by connector_id
    • Inbox
      • Create inbox
      • Update inbox at runtime
      • Update anamoly detection inbox
      • Update Preview Inbox
      • get inbox
    • Tags
      • tags
    • Dashboard
      • get dashboard
      • refresh dashboard
      • delete component in dashboard
    • Tasks
      • get tasks
      • get task by id
      • Pause running task
      • resume task
      • Stop task
    • Tables
      • Insert row in a table
      • Get records
      • Get record by id
      • Update record by id
      • create table
      • create database
      • get tables
      • get table names
      • delete record
      • delete a column
      • Insert column in a table
    • Settings
      • get settings
    • Marketplace
      • get all connectors
      • get marketplace coworkers
      • get marketplace coworker by id
    • Coworker schedules
      • get schedules
      • create coworker schedule
      • get schedule coworker by its id
      • update schedule by its id
      • delete schedule by its id
    • Analytics
      • Get analytics
    • Marketplace coworkers
      • hire a coworker
      • check marketplace coworker update
    • Available Connectors
      • Actions
    • Execution Details
      • Execution details
    • Knowledge Base
      • File Upload
    • Create apikey
      • Generate apikey
  • Wexa_sdk
    • Wexa Python SDK
    • Use Cases and Workflows
    • API Reference
    • Troubleshooting Guide
    • Onboarding
      • Getting Started with Wexa
      • Hire Your AI Coworker
    • AI Coworker Creation
      • Create Your First AI Coworker
      • Process Flows
      • Schedule a Process Flow
      • Creating Your First Agent
      • Executing a Process Flow
      • Settings - Input Form
      • History
    • Tables
      • Intro to Tables
      • Adding Records to Tables
      • Table Triggers
    • Knowledge Base
      • Intro to Knowledge Base
    • Connectors and MCP Servers
      • Adding a New Connector
      • Adding an MCP Server
      • Setting up Connector Triggers
    • API Endpoints
      • Project
        • Create Project
        • Get Projects
        • Get Project by ID
        • Update
        • Delete Project
        • Get project by proiectName
  1. AI Coworker Creation

Schedule a Process Flow

Here's how to schedule your process flows using the SDK:

1. Choose the Process Flow#

You can choose the process flow you want to schedule for a future execution. In Wexa Studio, click on "Schedule" for more details.
Using SDK to List Available Process Flows:

2. Create New Schedule#

Click on "+New Schedule" in Wexa Studio.
Using SDK to Create Schedules:

3. Choose Schedule Type#

A sidebar appears asking you to choose the Schedule Type: Once or Recurring

3.1 Once#

For Once, you can choose your preferred time.
SDK Example for One-Time Schedule:

3.2 Recurring#

Users can choose this option if they want to execute the process flow multiple times in the future. Users can select the frequency and the interval between two consecutive executions.
SDK Example for Recurring Schedule:
List and Manage Schedules:

Executing a Process Flow#

1. Run Process Flow#

A Process Flow can be run by clicking the "Play" icon in Wexa Studio, or programmatically using the SDK.
Using SDK to Execute Process Flow:

2. Fill Input Details#

Once done, the user will be prompted to fill details for the input of the process flow. With the SDK, you provide these as input_variables in the execution payload.
Example with Multiple Input Variables:

3. Monitor Execution#

Once you hit run, the Process Flow starts its execution which can be viewed on the Task Manager screen in Wexa Studio, or monitored using the SDK.
Monitor Execution with SDK:
Control Execution:

Settings - Input Form#

1. Access Process Flow Settings#

Navigate to the Process Flow section via the sidebar in Wexa. Click the three dots (⋯) next to the desired process flow. Select Settings from the dropdown menu.
Using SDK to Access Process Flow Configuration:

2. Configure Input Forms#

2.1 Go to Goal Settings#

In the settings panel, switch to the Goal Settings tab. Locate the Input Form section and click Add Input Form.

2.2 Add Input Fields#

Select from available input types:
Short Text: Single-line text input
Table: Structured data input
Date and Time: Date/time picker
File Upload: File attachment
Long Text: Multi-line text input
Number: Numeric input
One Option (Dropdown): Single selection
List of Texts: Multiple text entries
Configuring Input Forms with SDK:
Input forms are configured through the AgentFlow's goal template and input variables. When executing, provide structured input:
Example Setup with Multiple Fields:

3. Set Up the Goal Template#

In the Template Editor, reference input values using Unique IDs enclosed in double curly braces {{unique_id}}.
Critical: Ensure Unique IDs in the template exactly match those set in the input form.
Updating Goal Template with SDK:

4. Finalize and Test the Form#

4.1 Save the Form#

Click Save and Finish to complete the setup in Wexa Studio. With SDK, the configuration is saved when you update the AgentFlow.

4.2 Test the Input Form#

Run the process flow by clicking the Run button in Wexa Studio, or execute it using the SDK:

4.3 Field Customization#

Optional/Required: Fields can be marked as optional or required (handled in Wexa Studio UI)
Advanced Fields: Marked fields collapse under an "Advanced" section for cleaner forms

History#

History enables users to view the status of past process flows that were executed by user type at specific times.
Accessing Execution History with SDK:
Execution Status Types:
pending: Execution is queued
running: Execution is in progress
completed: Execution finished successfully
failed: Execution encountered an error
paused: Execution is paused
cancelled: Execution was cancelled
Modified at 2026-01-02 09:46:45
Previous
Process Flows
Next
Creating Your First Agent