workflows

Push a workflow from CLI

Upserts a workflow parsed from TypeScript source. Used by wraps email workflows push.

post/v1/workflows/push

Request

  • Base URL: https://api.wraps.dev
  • URL: https://api.wraps.dev/v1/workflows/push
  • Auth: HTTP bearer

Request body

slugstring required

Workflow slug (filename without extension)

namestring required

Workflow display name

descriptionstring

Workflow description

sourceTsstring required

Original TypeScript source code

sourceHashstring required

SHA256 hash of source file

triggerTypestring required

Trigger type

triggerConfigunknown
cliProjectPathstring

Path in project (e.g. workflows/onboarding.ts)

forceboolean

Force overwrite even if edited on dashboard

draftboolean

Push as draft without enabling the workflow

Changes

No recorded changes to this operation across all 1 revision of this API.