MNP Lookup
seven.lookup_mnp
ActionVoice & SMSconnection required
Calls the seven.io API with the connection's credentials.
Check mobile number portability to find which network now carries a number.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- seven.io
- Secret shape
- the API key, or {"api_key": "…"}
- Config it needs
- sender, account_id, 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.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
number The phone number to look up, in international format. | string | Yes | — | — | +4917612345678 |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"number": "+4917612345678"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
success seven.io's outcome flag for the lookup. | any | — |
country_code The dialling prefix of the number's country. | string | — |
country_name The number's country, in English. | string | — |
code seven.io's return code for the MNP query. | any | — |
price What the lookup cost, in the account's currency. | number | — |
mnp The portability result: network, mccmnc, isPorted and the formatted number. | object | — |
{
"code": null,
"country_code": "",
"country_name": "",
"mnp": {},
"price": 0,
"success": null
}See MNP Lookup run in a workflow.
In a technical demo we add the seven.io connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.