View as Markdown
SalesLens icon

SalesLens ACTION

Upload Conversation Recording

Uploads a conversation recording. See the documentation
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's SalesLens account once, then configure and run Upload Conversation Recording 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: "saleslens-upload-conversation-recording",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    saleslens: { authProvisionId: "apn_xxxxxxx" },
    employeeExternalId: "Employee External ID",
    downloadRecordUrl: "Download Record URL",
  },
})

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 Conversation Recording inputs
Property Type Description
employeeExternalId Employee External ID string
The external ID of the employee
Required Dynamic
downloadRecordUrl Download Record URL string
URL of the recording
Required
categoryId Category ID string
The ID of the category
Optional Dynamic
locale Locale string
Locale of the transcription or recording
Optional
fileExtension File Extension string
File extension of the transcription or recording
Optional
title Title string
Title of the transcription or recording
Optional
httpHeader HTTP Header string
If your download URL requires authorization, use this parameter as a string. Eg. Authorization: Bearer <token>
Optional
tags Tags string
Tags associated with the transcription or recording separated by commas. Eg. api, download, example
Optional
email Email string
Contact's email address
Optional
phone Phone string
Contact's phone number
Optional
firstName First Name string
Contact's first name
Optional
lastName Last Name string
Contact's last name
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
saleslens-upload-conversation-recording
Version
0.0.2
App
SalesLens
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes