# Workflows and Webhooks

**URL:** <https://community.hubspot.com/t/workflows-and-webhooks/35157>\
**Category:** APIs & Integrations\
**Tags:** workflows, webhooks\
**Created:** [April 8, 2021, 4:01pm UTC](https://community.hubspot.com/t/workflows-and-webhooks/35157 "2021-04-08T16:01:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![LWilliamson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/lwilliamson/32/32521_2.png) [@LWilliamson](https://community.hubspot.com/u/LWilliamson)\
**Post date:** [April 8, 2021, 4:01pm UTC](https://community.hubspot.com/t/workflows-and-webhooks/35157/1 "2021-04-08T16:01:47Z")

</div>

Hiya,

Conceptually, I need to be able to have a webhook that fires when a company property changes. So, I can update values in a separate database.

I can see using workflows it’s possible to fire a webhook after a property has changed within a number of days. Can a webhook be triggered immediately after a company property is edited? I’ve been testing with edits to the city property. I’ve tried setting the value to 0 days for the “update in the last” trigger. I can only seem to fire a webhook to a test url when it’s set to 1 day and I manually fire the request using the test criteria button.

Many thanks

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [April 8, 2021, 5:43pm UTC](https://community.hubspot.com/t/workflows-and-webhooks/35157/2 "2021-04-08T17:43:46Z")

</div>

Hey @LWilliamson

Is the workflow portion of this necessary?

Webhooks fire pretty quickly after the subscribed event has occured.

[@Mike\_Eastwood](https://community.hubspot.com/t5/user/viewprofilepage/user-id/9259) , what do you think?

---

<div class="post-metadata">

**Author:** ![Mike\_Eastwood](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mike_eastwood/32/70075_2.png) [@Mike\_Eastwood](https://community.hubspot.com/u/Mike_Eastwood)\
**Post date:** [April 11, 2021, 5:12am UTC](https://community.hubspot.com/t/workflows-and-webhooks/35157/3 "2021-04-11T05:12:26Z")

</div>

Hi @LWilliamson

@dennisedson is right - you probably don’t need the Workflow too.

You can set up an App, with a Webhook, that fires when a property is changed (which includes new objects e.g. a Contact).

The Webhook will deliver a small packet of JSON, to your endpoint, with the appropriate IDs and changes.

Here’s more info: [Accounts Dashboard | HubSpot](https://developers.hubspot.com/docs/api/webhooks)

Have fun

Mike
