Skip to content
  • Workflows
  • Configuration

Workflow settings

Every workflow file must export a configuration object named workflowSettings that defines how your workflow behaves.

Example configuration

Link to this section
export const workflowSettings = {
bindings: {"kinde.env": {}, "kinde.fetch": {}, url: {}},
failurePolicy: {action: "continue"},
id: "hubspotSync",
name: "HubSpot sync",
trigger: "user:tokens_generation"
};

bindings (object)

Link to this section

Kinde helper methods to access within your workflow code. See bindings for more details.

failurePolicy (object)

Link to this section

Defines behavior when workflow execution fails (for example, during fetch timeouts or exceptions).

Unique identifier for the workflow.

Display name shown in the Kinde admin area.

trigger (string)

Link to this section

Event that starts the workflow (for example, user:tokens_generation).