View as Markdown
Plivo icon

Plivo ACTION

Make A Call

Makes a call. See the docs.
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Plivo account once, then configure and run Make A Call 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: "plivo-make-call",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    plivo: { authProvisionId: "apn_xxxxxxx" },
    from: "From",
    to: "To",
  },
})

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.

Make A Call inputs
Property Type Description
from From string
The phone number to be used as the caller ID for the call. The format should be the country code followed by the number. Example: 14157654321 (for the United States).
Required Dynamic
to To string
The destination to be called. The destination can be either a regular number or a SIP endpoint. A regular number should be specified with the country code followed by the number. Example: 14157654321. If you're calling a SIP endpoint, the to field should be a valid SIP URI. Example: sip:john1234@phone.plivo.com
Required Dynamic

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
plivo-make-call
Version
0.0.2
App
Plivo
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes