Create an account
Navigate to your Agility instance and sign up for a new account using your email address.Once signed in, you’ll be directed to the workflow builder interface.
Access the workflow builder
Click Try the Workflow Builder from the homepage or navigate directly to
/workflow.You’ll see:- Canvas - The main workspace where you build workflows
- Agent Panel - Left sidebar with available agents
- Configuration Panel - Right sidebar (appears when you select an agent)
Create your first workflow
You can create workflows in two ways:
Method 1: Manual Creation
- Drag an agent from the left panel onto the canvas
- Click the agent to open its configuration panel
- Configure the agent with required credentials and settings
- Click Save Configuration
Method 2: AI-Powered Generation
- Look for the AI workflow generation input
- Describe your workflow in plain English (e.g., “Read my Gmail, summarize with AI, send to Discord”)
- Click Generate Workflow
- The AI will create a complete workflow with connected agents
Configure your agents
For each agent in your workflow, you’ll need to provide configuration:Text Generator:
- OpenAI or Anthropic API key
- Model selection (gpt-4, gpt-3.5-turbo, claude-3-5-sonnet)
- Prompt text (supports placeholders like
\{\{input.text\}\})
- Gmail OAuth credentials
- Filter by sender email
- Maximum results to fetch
- Gmail OAuth credentials
- Recipient email
- Subject and body (supports placeholders)
- Discord webhook URL
- Message content (supports placeholders)
- Optional: Custom username and avatar
- GitHub Personal Access Token
- Repository name (owner/repo format)
- Branch to monitor
Credentials are stored securely in your Supabase database with encryption.
Connect your agents
Create data flows between agents:
- Click and drag from one agent’s output port to another agent’s input port
- A connection line appears showing the data flow
- Connected agents can access previous agent outputs using placeholders
- In Text Generator prompt, use
\{\{input.emailBody\}\}to access the email content - Use
\{\{input.emailSubject\}\}to access the subject line
Test your workflow
Before running the full workflow, test individual agents:
- Click an agent to select it
- Click Test Agent in the configuration panel
- Review the test results
- Fix any errors in configuration
- Click Test Workflow in the toolbar
- Select the starting agent
- Watch the execution progress
- Review results for each agent
Save and deploy
Once your workflow is working:
- Click Save Workflow in the toolbar
- Give your workflow a descriptive name
- Your workflow is automatically saved to your account
- GitHub Reader: Configure webhooks for automatic execution on push events
- Gmail Reader: Can be set up as a scheduled workflow (polling)
- API Triggers: Call the workflow via API endpoint
Next steps
Core Concepts
Understand workflows, agents, and connections in depth
Agent Reference
Explore all available agents and their capabilities
Workflow Patterns
Learn common workflow patterns and best practices
API Reference
Integrate workflows with your applications via API
Example workflow
Here’s a complete example workflow that monitors GitHub commits and posts summaries to Discord:- Detects new commits via GitHub webhook
- Generates an AI summary of the changes
- Posts the summary to your Discord channel
Troubleshooting
Agent configuration not saving
Agent configuration not saving
Make sure you click Save Configuration after entering credentials. Check the browser console for any error messages.
Workflow execution fails
Workflow execution fails
Test each agent individually first. Common issues:
- Invalid API keys or credentials
- Incorrect placeholder syntax
- Missing required configuration fields
Connections not creating
Connections not creating
Ensure both agents are properly placed on the canvas. Try refreshing the page if connections appear stuck.
Gmail authentication fails
Gmail authentication fails
Verify your OAuth credentials are correctly configured in Supabase. See Gmail Reader for detailed setup instructions.