APIs & Integrations

EduLodi
Participant

Simple button or card in deal to make a http request

I have a workflow in an external service that i want to be triggered by a simple link in my deal page. The workflow is triggered by a webhook, and with the webhook i want to send the deal's id. So in my deal page i want to have a button or a card that will call this webhook with the id of that deal's as a content.

0 Upvotes
2 Replies 2
KhushbooRevOps
Participant

Simple button or card in deal to make a http request

Hi @EduLodi,

Create a custom CRM card or button on the deal page using HubSpot’s CRM Extensions API. This button can trigger your webhook with the deal ID. Alternatively, use a custom URL property that links to your webhook with the deal ID in the query string.


https://your-webhook-url.com/trigger?dealId={{deal.id}}

This setup will allow you to trigger your external workflow directly from the deal page.

 

I hope it helps, let me know if you need to talk!

Khushboo Pokhriyal

Growth & Operations

GroRapid Labs

LinkedIn | 9315044754 | Email | Website

EduLodi
Participant

Simple button or card in deal to make a http request

Thank you so much for answering!
I guess the first solution would be the more robust one, but it looks a little bit painful to do such a simple task, so i'm trying to use your second suggestion, i just can't create a property with a custom URL field, maybe i'm misunderstanding something, could you dumb it down a little bit?

0 Upvotes