Output Routes
Output routes deliver agent and team run results to external destinations when a task completes or fails. Each route listens for specific events and posts a structured payload to its configured destination. Supported destinations:Concepts
Events
Every route subscribes to one or more events. Only matching events trigger delivery:Payload
Every route receives the same JSON payload:result_full— the complete output. Some destinations (Slack, Discord, Telegram, Teams) truncate long outputs in the formatted message; use HTTP if you need the full untruncated result.attachments— file attachments associated with the task or team run. Signed download URLs expire after 24 hours.task_idorteam_run_id— only one will be set, depending on whether the event is from an agent task or a team run.
Retry
Each delivery is attempted up to 2 times (initial + 1 retry after 5 seconds). Failed deliveries are logged in Settings → Output Routes → Logs with the HTTP status code and error message.Scoping Deliveries
By default, all active routes in a workspace receive all matching events. You can restrict an agent or team to only send to specific routes — see the Output Routes selector in Agents and Pipeline Teams.Creating a Route
- Go to Settings → Output Routes
- Click New Route
- Choose the destination type and configure it
- Select which events to subscribe to
- Save — optionally test with the Send Test button
HTTP Webhook
The most flexible option. CrewForm POSTs the full JSON payload to your URL. Use this for custom integrations, internal tooling, or platforms not natively supported.Configuration
Signature Verification
If you set a secret, CrewForm adds aX-CrewForm-Signature header to every request:
HMAC-SHA256(secret, raw-body). Verify it on your server:
Example Handler (Express)
Tip: CrewForm treats any 2xx response as success. Return 200 quickly and process async to avoid timeouts.
Slack
Posts a formatted message to a Slack channel via an Incoming Webhook. Results appear in a coloured attachment block — green for completed, red for failed.Setup
- Go to api.slack.com/apps → Create New App → From Scratch
- Go to Incoming Webhooks → Enable → Add New Webhook to Workspace
- Select the channel and click Allow
- Copy the Webhook URL (starts with
https://hooks.slack.com/...)
Configuration
Message Format
Messages are posted as Block Kit attachments:Truncation: Results over 2,900 characters are truncated in the Slack message. Full output is always available in the HTTP webhook payload.
Discord
Posts an embedded message to a Discord channel via a Discord Webhook.Setup
- In Discord, open the channel settings → Integrations → Webhooks
- Click New Webhook → give it a name
- Copy the Webhook URL
Configuration
Message Format
Results appear as Discord embeds — green border for completed, red for failed — with agent name, task title, status, and result inline.Truncation: Results over 1,000 characters are truncated in the Discord embed. Use HTTP webhook if you need full output.
Note: This is a one-way output route (CrewForm → Discord). For two-way integration where Discord users can trigger agents via /ask, see the Discord Integration guide.
Telegram
Sends a message to a Telegram chat or group via the Bot API.Setup
- Create a bot via @BotFather →
/newbot - Copy the Bot Token (format:
123456789:AABBcc...) - Get the Chat ID of the target chat:
- For personal chats: message the bot, then visit
https://api.telegram.org/bot<TOKEN>/getUpdatesand findchat.id - For groups: add the bot to the group, send a message, check
getUpdates - For channels: add the bot as admin, use the channel’s
@usernameas the chat ID (e.g.@mycrewformchannel) or the numeric ID (e.g.-1001234567890)
- For personal chats: message the bot, then visit
Configuration
Message Format
Truncation: Results over 3,500 characters are truncated in the Telegram message.
Note: This is a one-way output route (CrewForm → Telegram). For two-way integration where Telegram users can trigger agents, see the Telegram Channel guide.
Microsoft Teams
Posts an Adaptive Card to a Teams channel via an Incoming Webhook. Cards render with a colour-coded header, fact set, and result body.Setup
- In Teams, open the channel → Connectors (⋯ menu → Connectors)
- Find Incoming Webhook → Configure
- Give it a name and upload an icon (optional)
- Click Create and copy the Webhook URL
Modern Teams: Microsoft is migrating from Connectors to Workflows. If Connectors aren’t available in your tenant, use the Power Automate Workflows app instead: add the “Post to a channel when a webhook request is received” workflow and copy its URL.
Configuration
Message Format
Delivered as an Adaptive Card (version 1.4):- Header: ✅ / ❌ with task/team run status
- Fact Set: Prompt/Task, Agent/Team, Status
- Body: Result text (monospace font)
- Error: Shown if the task failed
Truncation: Results over 2,000 characters are truncated in the Teams card.
Asana
Creates a new task in an Asana project when a CrewForm task or team run completes or fails.Setup
- Go to app.asana.com/0/my-apps → Create New Token (Personal Access Token)
- Copy the PAT
- Find your Project GID:
- Open the project in Asana
- The URL contains the GID:
https://app.asana.com/0/<PROJECT_GID>/... - Or use the Asana API:
GET https://app.asana.com/api/1.0/projects
Configuration
Task Format
Each delivery creates an Asana task with:- Name:
[CrewForm] <task title> — <status> - Notes: Event type, task/agent details, timestamp, and full result
Tip: Use Asana rules to automatically assign, tag, or move created tasks to specific sections based on their name or status.
Trello
Creates a new card (or updates an existing one) on a Trello board when a CrewForm task or team run completes or fails. Trello also supports bidirectional integration — cards moved to a trigger list can start agent tasks, and results are posted back as comments.Setup
- Go to trello.com/power-ups/admin → create or select a Power-Up to get your API Key
- From the API key page, click the Token link to generate a token with read/write access
- Find your Board ID:
- Open the board in Trello
- The URL contains the ID:
https://trello.com/b/<BOARD_ID>/...
- Find the List ID for the target list:
- Use the Trello API:
GET https://api.trello.com/1/boards/<BOARD_ID>/lists?key=<KEY>&token=<TOKEN> - Or use a browser extension like Trello Card Numbers
- Use the Trello API:
- (Optional) Find a Review List ID — completed cards will be moved here automatically
Configuration
Card Format
Each delivery creates a Trello card with:- Name:
[CrewForm] <task title> — <status> - Description: Event type, task/agent details, timestamp, and full result
Bidirectional Flow
When used with a Trello Messaging Channel, CrewForm supports a full round-trip:- Inbound: A card is created or moved to the trigger list → CrewForm creates a task
- Agent processes the card’s title/description as the prompt
- Outbound: The agent result is posted as a comment on the original card → card moves to the Review list
Tip: Set up two lists on your board — an “AI Work” list (trigger) and a “Review” list (review) — for a clean Kanban workflow with your AI agents.
Delivery Logs
Every delivery attempt is logged. View logs in Settings → Output Routes → [Route Name] → Logs:
Logs are retained for 30 days.
Self-Hosted Environment Variables
If you self-host CrewForm, no extra environment variables are needed for output routes — all credentials are stored in the database per-route. The task runner reads them at delivery time. See the Self-Hosting Guide for general environment setup.Notion
Creates a new page in a Notion database when a CrewForm task or team run completes or fails.Setup
- Go to notion.so/my-integrations → New Integration
- Give it a name (e.g. “CrewForm”) and select your workspace
- Copy the Internal Integration Token (starts with
ntn_...) - In Notion, open the target database → ⋯ → Connections → Add connection → select your integration
Configuration
Page Format
Each delivery creates a Notion page with:- Title:
[CrewForm] <task title> — <status> - Content: Event type, agent details, timestamp, and full result as text blocks
GitHub Issues
Creates an issue in a GitHub repository when a CrewForm task or team run completes or fails.Setup
- Go to github.com/settings/tokens → Generate new token (classic)
- Select the
reposcope - Copy the Personal Access Token
Configuration
Issue Format
- Title:
[CrewForm] <task title> — <status> - Body: Event type, agent details, timestamp, and full result in Markdown
Email (Resend)
Sends a styled HTML email via the Resend API. Ideal for managed email delivery without configuring an SMTP server.Setup
- Sign up at resend.com and verify a sending domain
- Go to API Keys → create a new key
- Copy the API Key
Configuration
SMTP Email
Sends email via any SMTP server using nodemailer. Use this for self-hosted email or providers like Gmail SMTP, SendGrid, Mailgun, etc.Configuration
Gmail SMTP: Use an App Password (not your regular password). Go to Google Account → Security → 2-Step Verification → App passwords.
Linear
Creates an issue in Linear when a CrewForm task or team run completes or fails. Uses the Linear GraphQL API.Setup
- Go to linear.app/settings/api → Personal API keys → create a key
- Copy the API Key
- Find your Team Key (the short prefix like
ENG,OPSvisible in issue IDs)
Configuration
Issue Format
- Title:
[CrewForm] <task title> — <status> - Description: Full result in Markdown with agent and event metadata
Google Workspace
Google destinations use OAuth 2.0 — you connect your Google account once per workspace, and CrewForm handles token refresh automatically.Setup (One-Time)
- When creating a Google output route, click Connect Google in the configuration form
- Sign in with your Google account and grant the requested permissions
- CrewForm stores encrypted OAuth tokens — no API keys needed
Self-Hosted: You must configure a Google Cloud project with OAuth credentials. SetGOOGLE_CLIENT_IDandGOOGLE_CLIENT_SECRETon both Supabase Edge Functions and the task runner. See the Self-Hosting Guide for details.
Google Sheets
Appends task results as new rows in a Google Spreadsheet.
Each delivery appends a row with: Timestamp, Event, Task Title, Agent, Status, Result.
Gmail
Sends an email from your connected Google account.
Emails are sent as the authenticated Google user with a styled HTML template.
Google Docs
Creates a new Google Document with the full agent output.
Each delivery creates a document named
[CrewForm] <task title> — <timestamp> with the full result.
Google Calendar
Creates a review event on your Google Calendar.
Events are scheduled 1 hour after task completion with the task title and result in the description.

