View as Markdown
CleverTap icon

CleverTap ACTION

Upload Events

Upload events. See the documentation
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's CleverTap account once, then configure and run Upload Events 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: "clevertap-upload-events",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    clevertap: { authProvisionId: "apn_xxxxxxx" },
    eventName: "Event Name",
    identity: "Identity",
  },
})

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.

Upload Events inputs
Property Type Description
eventName Event Name string
Name of the event
Required
identity Identity string
Identifier of the user
Required
eventData Event Data object
The event data to be uploaded. E.g. { "Product name": "Casio Watch", "Category": "Mens Watch" }
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
clevertap-upload-events
Version
0.0.3
App
CleverTap
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes