Bupple
Automate with Bupple

Automate with Bupple

Bupple in Zapier

Call Bupple from a Zap with Webhooks by Zapier, and start a Zap when Bupple finishes something, with Catch Hook.

Zapier talks to Bupple through Webhooks by Zapier, which is available on Zapier's paid plans. There is no Bupple app to install.

Zapier starts Bupple

Add the action Webhooks by Zapier › POST (or Custom Request):

  • To start an automation with data — the URL is the automation's start link, Payload Type json, and the fields under Data. Add a header Idempotency-Key with the record's id, so a replayed Zap never starts a second run.
  • To call the API — the URL is a route such as https://api.bupple.io/v1/api/automations/<id>/runs, with two Headers: Authorization = Bearer bmcp_… and x-brand-id = your brand's id. Put the data under input. See Calling the API.

Bupple starts a Zap

Make the Zap's trigger Webhooks by Zapier › Catch Hook and copy its URL into Bupple — as A webhook under an automation's Send the result, or as a webhook in Settings › Webhooks. The call's fields appear in the Zap as data: data.files, data.input, data.drafts, and so on.

To check that the call came from Bupple, use Catch Raw Hook instead (the plain Catch Hook does not pass on the headers or the raw body) and a Code by Zapier step that runs the check on Webhooks.

Waiting for a result

A Zap does not wait well for a video. Let Bupple call the next Zap when the work is done — Send the result › A webhook — instead of polling. For short work, Delay by Zapier followed by a GET to /v1/api/runs/<id> also works.

Recipes