New260+ blocks and 240+ tools are now fully documented
DocumentationReferenceTool IntegrationsDeveloper Tools
Tool

Devin

Launch and monitor AI software engineering sessions with Devin

Integrate Devin, the AI software engineer, directly into your workflows. Create coding sessions, send follow-up messages, inspect session state, and manage organization secrets — all without leaving Zelaxy.

Overview

PropertyValue
Typedevin
CategoryTool — AI / Developer
AuthAPI Key (Bearer token starting with cog_)

Operations

OperationTool IDDescription
Create Sessiondevin_create_sessionStart a new Devin session with a task prompt; Devin works autonomously
Get Sessiondevin_get_sessionRetrieve full details of an existing session including status and outputs
List Sessionsdevin_list_sessionsList sessions in the organization (up to 200)
Send Messagedevin_send_messageSend a message to a running or suspended session; auto-resumes if suspended
Add Secretdevin_add_secretAdd or update a secret in the Devin organization secrets store
Delete Secretdevin_delete_secretRemove a secret from the organization secrets store
Get Snapshotdevin_get_snapshotRetrieve a screenshot URL of the current state of a session

Configuration

SettingTypeRequiredDescription
apiKeystring (secret)YesDevin API key — a service user credential starting with cog_. Store as an environment variable and reference as {{DEVIN_API_KEY}}.
promptstringYes (Create Session)The task description for Devin to work on autonomously.
playbookIdstringNo (Create Session)Optional playbook ID to guide the session with a predefined set of instructions.
maxAcuLimitnumberNo (Create Session)Maximum ACU (Agent Compute Unit) budget for the session. Prevents runaway compute.
tagsstringNo (Create Session)Comma-separated tags to label the session (e.g., ci,backend,bugfix).
sessionIdstringYes (Get Session, Send Message, Get Snapshot)The unique session identifier returned by Create Session.
messagestringYes (Send Message)The message text to send to Devin in the session.
secretNamestringYes (Add Secret, Delete Secret)Name of the secret in the organization store (e.g., GITHUB_TOKEN).
secretValuestring (secret)Yes (Add Secret)The secret value to store. Treated as sensitive — never log or expose this value.
limitnumberNo (List Sessions)Maximum number of sessions to return (1–200, default: 100).

Outputs

Create Session / Get Session / Send Message

FieldTypeDescription
sessionIdstringUnique identifier for the session
urlstringURL to view the session in the Devin UI
statusstringSession lifecycle status: new, claimed, running, exit, error, suspended, or resuming
statusDetailstringGranular status: working, waiting_for_user, waiting_for_approval, finished, inactivity, etc.
titlestringAuto-generated session title
createdAtnumberUnix timestamp when the session was created
updatedAtnumberUnix timestamp of the last session update
acusConsumednumberACUs consumed so far in the session
tagsjsonArray of tag strings associated with the session
pullRequestsjsonPull requests opened during the session (each has pr_url and pr_state)
structuredOutputjsonStructured output data produced by the session (if any)
playbookIdstringPlaybook ID used for the session (if provided)

List Sessions

FieldTypeDescription
sessionsarrayArray of session objects, each containing: sessionId, url, status, statusDetail, title, createdAt, updatedAt, tags

Add Secret / Delete Secret

FieldTypeDescription
successbooleanWhether the operation completed successfully
secretNamestringName of the secret that was added or deleted

Get Snapshot

FieldTypeDescription
sessionIdstringThe session ID the snapshot belongs to
snapshotUrlstringURL of the screenshot image of the current session state

Example

[Starter] → [Devin: Create Session] → [Agent: Summarize result]

Use a Starter block to receive a task description, then pass it to a Devin block configured for Create Session with apiKey set to {{DEVIN_API_KEY}} and prompt set to {{starter.input}}. After Devin finishes (poll with Get Session until statusDetail is finished), pipe {{devin.structuredOutput}} or {{devin.pullRequests}} into an Agent block to draft a Slack message summarizing the work done.

Tips

  • Polling for completion: Devin sessions run asynchronously. After Create Session, use a loop block with Get Session to poll statusDetail until it equals finished or waiting_for_user before consuming downstream outputs.
  • ACU budgeting: Set maxAcuLimit on long-running tasks to cap compute spend. Monitor acusConsumed from Get Session to track usage.
  • Secrets management: Use Add Secret to provision credentials Devin needs inside the session (e.g., a database password) and Delete Secret afterward to clean up. Never pass secrets directly in the task prompt.
  • Resuming suspended sessions: If status is suspended, simply call Send Message — it automatically resumes the session before delivering your message, so no separate resume step is needed.
  • Playbooks: If your organization has defined Devin playbooks, supply the playbookId on Create Session to enforce consistent task execution patterns across workflows.