View as Markdown
Agile CRM icon

Agile CRM ACTION

Create Ticket

Create a new ticket in Agile CRM. See the documentation
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Agile CRM account once, then configure and run Create Ticket from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "agile_crm-create-ticket",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    agile_crm: { authProvisionId: "apn_xxxxxxx" },
    contact: "Contact",
    email: "Email",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Create Ticket inputs
Property Type Description
contact Contact string
Ticket contact
Required Dynamic
email Email string
Email address for ticket. If selected contact has no email on record, Enter a custom expression to overwrite
Required Dynamic
subject Subject string
Subject of the ticket
Required
priority Priority string
Priority of the ticket
Optional
status Status string
Status of the ticket
Optional
message Message string
Message for the new ticket
Required
group Group ID string
ID of the group to assign to the new ticket
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
agile_crm-create-ticket
Version
0.0.4
App
Agile CRM
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes