Get Balance
vonage.get_balance
ActionVoice & SMSconnection required
Calls the Vonage API with the connection's credentials.
Read the account's prepaid balance in euros, so a workflow can stop or raise an alert before a send runs out of credit.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- Username & password
- Providers
- Vonage
- Secret shape
- {"api_key": "…", "api_secret": "…"}
- Config it needs
- api_region, from_number
- Resolved by
- config.connection_id, else node.connection_id
Configuration
This node takes no configuration beyond its connection.
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
value The remaining account balance, in euros. | number | — |
auto_reload True when the account tops itself up automatically when the balance runs low. | boolean | — |
{
"auto_reload": false,
"value": 0
}See Get Balance run in a workflow.
In a technical demo we add the Vonage connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.