Update Plan
profitwell.update_plan
ActionBusiness appsconnection required
Calls the ProfitWell API with the connection's credentials.
Change the display name of an existing manually-added plan.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- ProfitWell
- Secret shape
- the private API token, or {"api_token": "…"}
- Config it needs
- base_url
- Resolved by
- config.connection_id, else node.connection_id
Configuration
2 fields, 2 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 |
|---|---|---|---|---|---|
plan_id The id of the manually-added plan to rename. | string | Yes | — | — | foo_plan |
name The plan's new display name. | string | Yes | — | — | New Plan Name |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"name": "New Plan Name",
"plan_id": "foo_plan"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
id The plan's id, which this call never changes. | string | — |
name The plan's display name after the update. | string | — |
{
"id": "",
"name": ""
}Notes
- The name is the only field this endpoint changes; a plan's id is fixed.
See Update Plan run in a workflow.
In a technical demo we add the ProfitWell connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.