Skip to content
Cursor

How to use Cursor

DevelopersCost: 1 credit + 2 per runTechnical reference

What it is for

AI-powered code editor with cloud agents that can work on your repositories. Launch agents, monitor their status, and automate code-related tasks.

Cursor triggers react instantly to events in the app (some of them check periodically every few minutes).

Set up the connection

Authentication type: API key or token

  1. 1Sign in to Cursor and look for the API or integrations section in its settings.
  2. 2Create an API key or token with the permissions you need and copy it.
  3. 3In flooows, add a Cursor step, click "Connect" and paste it.
  4. 4Save the connection: it is stored encrypted and is never shown in plain text.

Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.

How to use it in a flow

  • Launch Agent: fill in Task Prompt, Repository URL; use the data selector to map values from earlier steps.
  • Add Followup Instruction to Agent: fill in Agent, Instruction Text; use the data selector to map values from earlier steps.
  • Find Agent Status: fill in Agent; use the data selector to map values from earlier steps.

Tips

  • •Test each step before publishing to see the exact output structure.
  • •Enable retries on steps that call external services.

Triggers (5)

Events that can start a flow. Expand each one to see its fields.

New AgentPeriodic check0 fields

No fields to configure.

Agent Status EqualsPeriodic check2 fields
FieldTypeRequired
AgentList (from your account)Yes
StatusFixed listYes
Agent Pull Request CreatedPeriodic check0 fields

No fields to configure.

New Agent Conversation MessagePeriodic check1 fields
FieldTypeRequired
AgentList (from your account)Yes
Agent Status Changed (Webhook)Webhook (paste the URL in the app)1 fields
FieldTypeRequired
Webhook SecretTextNo

Actions (4)

Operations available as flow steps. Expand each one to see its fields.

Launch Agent11 fields
FieldTypeRequired
Task PromptLong textYes
ImagesList of valuesNo
ModelTextNo
Repository URLTextYes
Base Branch/RefTextNo
Auto Create Pull RequestYes / NoNo
Open as Cursor GitHub AppYes / NoNo
Skip Reviewer RequestYes / NoNo
Custom Branch NameTextNo
Webhook URLTextNo
Webhook SecretTextNo
Add Followup Instruction to Agent3 fields
FieldTypeRequired
AgentList (from your account)Yes
Instruction TextLong textYes
ImagesList of valuesNo
Find Agent Status1 fields
FieldTypeRequired
AgentList (from your account)Yes
Delete Agent1 fields
FieldTypeRequired
AgentList (from your account)Yes

Common errors

Authentication error

The connection expired or the key was revoked: reconnect it from Connections.

Field not found or empty

Re-test the previous step and remap the field in the data selector.

Field types

"List (from your account)" loads options from your connected account; "Dynamic fields" appear depending on earlier choices; in any field you can insert data from previous steps with the data selector (e.g. {{trigger.email}}). More about data between steps