# Integrate with external API except using webhook

**URL:** <https://community.hubspot.com/t/integrate-with-external-api-except-using-webhook/21151>\
**Category:** APIs & Integrations\
**Tags:** workflows\
**Created:** [May 26, 2020, 7:44am UTC](https://community.hubspot.com/t/integrate-with-external-api-except-using-webhook/21151 "2020-05-26T07:44:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![juliardi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/juliardi/32/38114_2.png) [@juliardi](https://community.hubspot.com/u/juliardi)\
**Post date:** [May 26, 2020, 7:44am UTC](https://community.hubspot.com/t/integrate-with-external-api-except-using-webhook/21151/1 "2020-05-26T07:44:01Z")

</div>

Hello,  
I want to invoke my API after do some workflow activity. As far as I know, the possible way to do this is by using a webhook that provided by Hubspot. After doing some research I found that webhook has certain limitation. My questions are :  
- How to unlock this limitation?  
- Is there any way to integrate the workflow with external API except using webhook (eg: publish event in message broker, etc)?

Thanks in advanced!

---

<div class="post-metadata">

**Author:** ![WendyGoh](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/wendygoh/32/42320_2.png) [@WendyGoh](https://community.hubspot.com/u/WendyGoh)\
**Post date:** [May 27, 2020, 4:00am UTC](https://community.hubspot.com/t/integrate-with-external-api-except-using-webhook/21151/2 "2020-05-27T04:00:53Z")

</div>

Hey @juliardi,

Let’s walk through your questions one by one!

For the first query, could you clarify what’s the limitation that you’re referring to here?

For the second query, currently this is not possible. When looking at the [Workflow extensions](https://developers.hubspot.com/docs/methods/workflow-extensions/workflow-extensions-overview), you’d also need a Webhook URL.

---

<div class="post-metadata">

**Author:** ![juliardi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/juliardi/32/38114_2.png) [@juliardi](https://community.hubspot.com/u/juliardi)\
**Post date:** [May 28, 2020, 2:45am UTC](https://community.hubspot.com/t/integrate-with-external-api-except-using-webhook/21151/3 "2020-05-28T02:45:03Z")

</div>

Thank you for reaching me and sorry for the late reply @WendyGoh .

Noted, so the only way for workflow integration is using a webhook. The limitation that I have found in this [documentation](https://developers.hubspot.com/docs/methods/workflows/webhook_information) was :

**- Workflows will issue webhook attempts at up to 20 requests per second.**

So, that mean the workflows can only accept max 20 requests per second, is that correct?

Also, I have read in your [Workflow extensions](https://developers.hubspot.com/docs/methods/workflow-extensions/workflow-extensions-overview) reference which stated the limitation :

- **Its capability is also limited to sending the enrolled object JSON as-is.**

---

<div class="post-metadata">

**Author:** ![WendyGoh](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/wendygoh/32/42320_2.png) [@WendyGoh](https://community.hubspot.com/u/WendyGoh)\
**Post date:** [May 28, 2020, 3:44am UTC](https://community.hubspot.com/t/integrate-with-external-api-except-using-webhook/21151/4 "2020-05-28T03:44:15Z")

</div>

Hey @juliardi,

I believe I may be able to shed some lights here.

This line:

_ **Workflows will issue webhook attempts at up to 20 requests per second.** _

Is referring to how HubSpot Webhooks handles error and retrying requests.

As for the second limitations, that is spot on. Currently, there isn’t a way to customize the request payload. An example of the Webhook payload would look like this:

```auto
{
 "fields": {
 "appointment_date": "1536019200000",
 "appointment_notes": "30 minute appointment to go over the services contract",
 "appointment_title": "Appointment with Sky"
 },
 "object": {
 "objectId": 34,
 "objectType": "CONTACT"
 },
 "origin": {
 "extensionDefinitionId": 108,
 "extensionDefinitionVersionId": 5,
 "portalId": 99160967
 }
}

```

---

<div class="post-metadata">

**Author:** ![juliardi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/juliardi/32/38114_2.png) [@juliardi](https://community.hubspot.com/u/juliardi)\
**Post date:** [May 28, 2020, 3:49am UTC](https://community.hubspot.com/t/integrate-with-external-api-except-using-webhook/21151/5 "2020-05-28T03:49:42Z")

</div>

Alright, thank you @WendyGoh for the explanation. It seems pretty clear right now! I will try some experiments with this webhook integration.
