Lookup Number

twilio.lookup_number
ActionVoice & SMSconnection required

Calls the Twilio Lookup API GET /v2/PhoneNumbers/{number}.

Validate and format a phone number via Twilio Lookup v2.

Connection

Required
Yes — the node will not save without one
Auth type
Username & password
Providers
Twilio
Secret shape
{"account_sid", "auth_token"}
Resolved by
config.connection_id, else node.connection_id

Configuration

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

FieldTypeRequiredDefaultConstraintsExample
phone_number
Number to look up (E.164). Supports {{ }}.
stringYes———
fields
Optional data packages, e.g. line_type_intelligence.
stringNo———

Output

One shape.

lookup

FieldTypeExample
phone_number
string—
valid
boolean—
country_code
string—
national_format
string—
{
  "country_code": "",
  "national_format": "",
  "phone_number": "",
  "valid": false
}

Related Twilio nodes

See Lookup Number run in a workflow.

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