Get Policy

bitwarden.get_policy
ActionBusiness appsconnection required

Calls the Bitwarden API with the connection's credentials.

Retrieve one policy by its Bitwarden policy type.

Connection

Required
Yes — the node will not save without one
Auth type
OAuth 2.0
Providers
Bitwarden
Secret shape
the organization API key client_secret, or {"client_secret": "…"}
Config it needs
region, client_id, base_url, identity_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.

FieldTypeRequiredDefaultConstraintsExample
policy_type
The policy type, as the numeric type Bitwarden documents (for example 0 for two-step login) or its name.
stringYes——0

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "policy_type": "0"
}

Output

One shape.

result

FieldTypeExample
object
Always 'policy' for this response.
string—
id
The policy's unique identifier.
string—
type
The numeric policy type.
number—
enabled
True when the policy is turned on.
boolean—
data
The policy's own settings, if it has any.
object—
{
  "data": {},
  "enabled": false,
  "id": "",
  "object": "",
  "type": 0
}

See Get Policy run in a workflow.

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