View as Markdown
Bland AI icon

Bland AI ACTION

Analyze Call

Analyzes an input call, extracting structured data and providing insights. See the documentation
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Bland AI account once, then configure and run Analyze 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: "bland_ai-analyze-call",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    bland_ai: { authProvisionId: "apn_xxxxxxx" },
    callId: "Call ID",
    goal: "Goal",
  },
})

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.

Analyze Call inputs
Property Type Description
callId Call ID string
The unique identifier of the call
Required Dynamic
goal Goal string
This is the overall purpose of the call. Provides context for the analysis to guide how the questions/transcripts are interpreted.
Required
questions Questions string[]
An array of questions to be analyzed for the call. Each question should be an array with two elements: the question text and the expected answer type. Examples: ["Who answered the call?", "human or voicemail"], ["Positive feedback about the product: ", "string"]
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
bland_ai-analyze-call
Version
0.0.2
App
Bland AI
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes