View as Markdown
ActiveCampaign icon

ActiveCampaign ACTION

Create Tracked Event

Tracks an event using event tracking. See the docs here.
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's ActiveCampaign account once, then configure and run Create Tracked 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: "activecampaign-create-tracked-event",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    activecampaign: { authProvisionId: "apn_xxxxxxx" },
    key: "Key",
    event: "Event",
  },
})

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 Tracked Event inputs
Property Type Description
key Key string
This value is unique to your ActiveCampaign account and can be found named "Event Key" on Settings > Tracking > Event Tracking inside your ActiveCampaign account.
Required
event Event string
The name of the event you wish to track.
Required
eventdata Event Data string
A value you wish to store for the event.
Optional
actid Act ID string
This value is unique to your ActiveCampaign account and can be found named "actid" on Settings > Tracking > Event Tracking API.
Required
visitEmail Visit Email string
Email address of the contact you wish to track this event for.
Required

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
activecampaign-create-tracked-event
Version
0.2.2
App
ActiveCampaign
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes