Speak On Call

plivo.speak_on_call
ActionVoice & SMSconnection required

Calls the Plivo API with the connection's credentials.

Speak text into a call that is already in progress, using Plivo's TTS.

Connection

Required
Yes — the node will not save without one
Auth type
Username & password
Providers
Plivo
Secret shape
{"username": "<Auth ID>", "password": "<Auth Token>"}
Config it needs
auth_id, src, answer_url, base_url
Resolved by
config.connection_id, else node.connection_id

Configuration

7 fields, 2 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
call_uuid
The identifier of the call to act on, as returned by a call lookup.
stringYes——4d04c52e-cea3-4458-bbdb-0bfc314ee7cd
text
The words to speak into the call.
stringYes——Your driver is arriving now.
voice
The Plivo text-to-speech voice to use, written exactly as Plivo names it. Leave blank for the account default.
stringNo———
language
The language tag for the voice, such as en-US.
stringNo———
legs
Which side of the call this applies to: the caller (aleg), the callee (bleg), or both.
stringNo—one of "aleg", "bleg", "both"—
loop
How many times to repeat. Leave blank to play or speak once.
numberNo—≥ 1—
mix
True to mix this audio with the ongoing call audio, false to play it alone.
booleanNo———

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "call_uuid": "4d04c52e-cea3-4458-bbdb-0bfc314ee7cd",
  "text": "Your driver is arriving now."
}

Output

One shape.

result

FieldTypeExample
call_uuid
The call spoken into.
string—
message
Plivo's acknowledgement text, such as 'call transfered'.
string—
api_id
Plivo's identifier for this API request.
string—
response
The acknowledgement exactly as Plivo returned it.
object—
{
  "api_id": "",
  "call_uuid": "",
  "message": "",
  "response": {}
}

See Speak On Call run in a workflow.

In a technical demo we add the Plivo connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.