View as Markdown
Agiliron icon

Agiliron ACTION

Create Event

Creates a new event within Agiliron. See the documentation
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Agiliron account once, then configure and run Create Event 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: "agiliron-create-event",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    agiliron: { authProvisionId: "apn_xxxxxxx" },
    subject: "Subject",
    startdate: "Start Date",
  },
})

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 Event inputs
Property Type Description
subject Subject string
The subject of the event
Required
startdate Start Date string
The start date of the event (format: MM-DD-YYYY)
Required
starttime Start Time string
The start time of the event (format: HH:MM)
Required
durationInHours Duration in Hours string
The duration of the event in hours
Optional
durationInMinutes Duration in Minutes string
The duration of the event in minutes
Optional
recurringEvents Recurring Events string
Details of the recurring events
Optional
repeatUntil Repeat Until string
The end date of the recurring events (format: MM-DD-YYYY)
Optional
accountName Account Name string
The name of the account related to the event
Optional
contactName Contact Name string
The name of the contact related to the event
Optional Dynamic
sendReminder Send Reminder string
Whether to send a reminder for the event
Optional
reminderDays Reminder Days string
Number of days before the event to send a reminder
Optional
reminderHours Reminder Hours string
Number of hours before the event to send a reminder
Optional
reminderMinutes Reminder Minutes string
Number of minutes before the event to send a reminder
Optional
status Status string
The status of the event
Optional
sendNotification Send Notification string
Whether to send a notification for the event
Optional
activityType Activity Type string
The type of activity for the event
Optional
location Location string
The location of the event
Optional
description Description string
The description of the event
Optional
customFields Custom Fields object
An object of custom fields for the lead. Format: {customFieldName01: "Value 01"}
Optional
relatedToType Related To Type string
The type of the entity related to the event
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
agiliron-create-event
Version
0.0.2
App
Agiliron
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes