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.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
phone_number Number to look up (E.164). Supports {{ }}. | string | Yes | — | — | — |
fields Optional data packages, e.g. line_type_intelligence. | string | No | — | — | — |
Output
One shape.
lookup
| Field | Type | Example |
|---|---|---|
phone_number | string | — |
valid | boolean | — |
country_code | string | — |
national_format | string | — |
{
"country_code": "",
"national_format": "",
"phone_number": "",
"valid": false
}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.