# Workflow -\> Create Company -\> WebHook

**URL:** <https://community.hubspot.com/t/workflow-create-company-webhook/63526>\
**Category:** APIs & Integrations\
**Tags:** webhooks\
**Created:** [August 23, 2022, 11:08am UTC](https://community.hubspot.com/t/workflow-create-company-webhook/63526 "2022-08-23T11:08:42Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![GBeister](https://avatars.discourse-cdn.com/v4/letter/g/ce7236/32.png) [@GBeister](https://community.hubspot.com/u/GBeister)\
**Post date:** [August 23, 2022, 11:08am UTC](https://community.hubspot.com/t/workflow-create-company-webhook/63526/1 "2022-08-23T11:08:42Z")

</div>

Dear Community,

how do I trigger a webhook once a new customer has been added or an existing has been modified? Is there a way to trigger those customer-events via a workflow?

Thanks a lot!

---

<div class="post-metadata">

**Author:** ![coldrickjack](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/coldrickjack/32/6684_2.png) [@coldrickjack](https://community.hubspot.com/u/coldrickjack)\
**Post date:** [August 23, 2022, 11:17am UTC](https://community.hubspot.com/t/workflow-create-company-webhook/63526/2 "2022-08-23T11:17:29Z")

</div>

Hi @GBeister,

I’d recommend checking out this [article](https://www.linkedin.com/pulse/implementing-webhooks-hubspot-jack-coldrick), it runs through the different ways of using webhooks within HubSpot and also this [video](https://share.vidyard.com/watch/4tZoFKgaiFSKTvq94Mp3xZ?) which provides a practical run through of how they work. In short though, you have 2 options to consider…

**Option 1:** [**Webhooks API**](https://developers.hubspot.com/docs/api/webhooks) - This is available for all hubs free right up to enterprise. Using the API you can subscribe to various events happening within the CRM. For instance if a Contact is created/deleted or if particular properties are updated. HubSpot will send a webhook containing information relating to the change so you can consume as needed.

**Option 2:** [**Trigger webhooks from workflows**](https://knowledge.hubspot.com/workflows/how-do-i-use-webhooks-with-hubspot-workflows) - This is available for Operations Hub Professional/Enterprise hubs only. It allows you to use a webhook GET or POST as a step in the workflow.

Option 2 is a little bit more flexible as it’s easier to setup, you don’t need to create an app and install it. You also have more flexibility in terms of what triggers the webhook and you can customise the payload HubSpot sends your endpoint.

Hope this helps!

---

<div class="post-metadata">

**Author:** ![GBeister](https://avatars.discourse-cdn.com/v4/letter/g/ce7236/32.png) [@GBeister](https://community.hubspot.com/u/GBeister)\
**Post date:** [August 23, 2022, 11:25am UTC](https://community.hubspot.com/t/workflow-create-company-webhook/63526/3 "2022-08-23T11:25:29Z")

</div>

Hi,

thanks! I can go for option 2 as my account is enterprise hub, but I do not know which trigger to use. There is nothing like “trigger once new company has been created”. There are company related things I can check for in order to trigger a webhook, but e.g. when using creation date doesn’t give my something like “now”…any hints?

Thanks!

---

<div class="post-metadata">

**Author:** ![coldrickjack](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/coldrickjack/32/6684_2.png) [@coldrickjack](https://community.hubspot.com/u/coldrickjack)\
**Post date:** [August 23, 2022, 11:35am UTC](https://community.hubspot.com/t/workflow-create-company-webhook/63526/4 "2022-08-23T11:35:45Z")

</div>

Hey @GBeister check out the below as an example:

1: Trigger webhook anytime a company is created - All objects will have a create date if they exist in the CRM so this criteria will be true and workflow will enroll the record.

 ![](https://d2qpr2jzcazej7.cloudfront.net/original/3X/6/3/63f5535e07596176ff56acb36815c3a8c2d96e5f.png)

2: Trigger a webhook anytime a company is updated (in this case I am doing it using last contacted property which will update anytime a call, email or meeting is logged)

 ![Screenshot 2022-08-23 at 12.32.57.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/3/39a74874a5b2b330cb0a708080951572ff4fbd7e.png)

For example 2 you’ll also need to ensure you setup the workflows to allow for re-enrollment. This means anytime a change happens the company is enrolled and the webhook will fire.

---

<div class="post-metadata">

**Author:** ![GBeister](https://avatars.discourse-cdn.com/v4/letter/g/ce7236/32.png) [@GBeister](https://community.hubspot.com/u/GBeister)\
**Post date:** [August 23, 2022, 11:52am UTC](https://community.hubspot.com/t/workflow-create-company-webhook/63526/5 "2022-08-23T11:52:06Z")

</div>

thanks a lot! This helped!
