Starting Workflow with Instantly Webhook

Hey Team

I am hoping to set up a workflow that triggers when a new email arrives in Instantly’s Unibox using an Instantly Webhook.

I have created a custom node, but I am unsure if it is set up correctly.

What I Need Help With
-How should I start the workflow in Gumloop?

-Is a custom node the right way to handle the webhook trigger?

-How do I correctly map the incoming webhook data to the workflow?

Would appreciate any guidance with this :pray:t3:

Thanks in advance.

here’s what i’m currently working with:
https://www.gumloop.com/pipeline?workbook_id=3aytWeRmokVyfqwheMzne1

Hey @Tommy-R - To trigger a workflow through an event on an external app you’ll need to set the Gumloop webhook on that app, in this case Instantly.

https://docs.gumloop.com/api-reference/getting-started

The inputs to the workflow will be mapped via the webhook payload. For example, if your workflow has recipient, subject and email body inputs, the payload would look something like this:

    "user_id": "xxxxxxxxxxxxxx",
    "saved_item_id": "xxxxxxxxxxxxxx",
    "pipeline_inputs": [
      {"input_name": "recipient", "value": "recipient@gmail.com"},
      {"input_name": "subject", "value": "Example of an Email Subject Line"},
      {"input_name": "body", "value": "Example of the Text of an Email Body"}
    ]
  }'

This payload format is automatically generated when you click on the webhook button:

https://docs.gumloop.com/api-reference/running-an-automation/start-automation?playground=open

Let me know if this works for you.

This topic was solved and automatically closed 4 days after the last reply. New replies are no longer allowed.