@taskmagic/apps-diaflow
v0.1.1
Published
Run [Diaflow](https://www.diaflow.io) flows from a TaskMagic workflow — docs: https://docs.diaflow.io
Readme
Diaflow
Run Diaflow flows from a TaskMagic workflow — docs: https://docs.diaflow.io
Diaflow has no resource-style REST API. Its integration surface is the per-flow webhook endpoint: a flow whose trigger is set to Webhook exposes a Test URL (Draft flows) and a Production URL (Published flows) that you POST to, with a workspace API key in a header. This piece ships the one action that surface supports — Trigger Flow.
The connection takes the API key (Diaflow sidebar → API keys → Create a new key) and the
header name to send it in. Diaflow's public docs say the key must be "included in the header"
without naming the header, so it defaults to x-api-key and is editable on the connection.
Trigger Flow refuses to send the API key anywhere other than a diaflow.io https address, so
a mistyped or pasted-from-elsewhere URL can't leak the credential.
No triggers: to have Diaflow start a TaskMagic flow, add an HTTP Request node in Diaflow pointed at a TaskMagic Webhook trigger.
