Webhook using response for the next step/flow

Hello everyone,

I’m new to HubSpot and I’ve encountered a situation that I could use some guidance on.

I’ve set up a webhook (POST) in HubSpot that makes calls to an external endpoint. This external service responds by providing a straightforward URL in the response body. My goal is to utilize this response URL for a subsequent step in my workflow.

I have a few questions and would appreciate your insights:

  1. Using ‘Set the Property’:

    • Is it possible to work with this response solely by using the ‘Set the Property’ action in my workflow? If so, how can I effectively capture and use the URL from the webhook response?
  2. Exploring Alternative Solutions:

    • Are there alternative methods or HubSpot features I should consider instead of relying on webhooks for this task? I’m open to exploring other integration options within HubSpot.
  3. Syncing Data with HubSpot Database:

    • Another idea I had was to call the external endpoint and save the response directly in the HubSpot database (sync). Would this be a practical approach? How can I efficiently retrieve and work with the response data stored in HubSpot?

I’m eager to learn and appreciate any advice or suggestions you can provide. Your expertise will help me make the most of HubSpot for my specific use case.

Hey, @JRoest :waving_hand: Thanks for the well-thought-out and interesting question.

I’ll leave 1 and 3 for other community members to tackle.

For Q2, have you looked into:

  • Having the external service, which receives the webhook, make a subsequent call back to HubSpot’s APIs to update the relevant record with the response URL?
  • This way, once your external service processes the webhook and gets the URL, it immediately updates the corresponding HubSpot record
  • Once the record is updated, you can trigger another workflow in HubSpot based on that property change

I haven’t built out this specific use case to test with. And it’s what jumped to mind when I read what you are trying to accomplish.

Best,

Jaycee