Get Call

plivo.get_call
ActionVoice & SMSconnection required

Calls the Plivo API with the connection's credentials.

Fetch one completed call's detail record, including cost and duration.

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

1 field, 1 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

Example configuration

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

{
  "call_uuid": "4d04c52e-cea3-4458-bbdb-0bfc314ee7cd"
}

Output

One shape.

result

FieldTypeExample
call_uuid
Plivo's identifier for the call.
string—
from_number
The caller id the call was placed from.
string—
to_number
The number that was called.
string—
call_direction
Either inbound or outbound.
string—
call_duration
How many seconds the call lasted.
number—
billed_duration
The duration Plivo billed, in seconds.
number—
bill_duration
The billing increment applied, in seconds.
number—
initiation_time
When the call was placed, in the account timezone.
string—
answer_time
When the call was answered, or null if it never was.
string—
end_time
When the call ended, in the account timezone.
string—
total_amount
What the call cost, as a decimal string.
string—
total_rate
The per-minute rate applied, as a decimal string.
string—
parent_call_uuid
The call this leg was created from, if any.
string—
resource_uri
The call's own path under the Plivo API.
string—
{
  "answer_time": "",
  "bill_duration": 0,
  "billed_duration": 0,
  "call_direction": "",
  "call_duration": 0,
  "call_uuid": "",
  "end_time": "",
  "from_number": "",
  "initiation_time": "",
  "parent_call_uuid": "",
  "resource_uri": "",
  "to_number": "",
  "total_amount": "",
  "total_rate": ""
}

See Get 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.