# If this then that

**URL:** <https://community.glideapps.com/t/if-this-then-that/62966>\
**Category:** Ask for Help\
**Created:** [June 20, 2023, 11:55am UTC](https://community.glideapps.com/t/if-this-then-that/62966 "2023-06-20T11:55:29Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![John\_Romano](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/john_romano/32/74316_2.png) [@John\_Romano](https://community.glideapps.com/u/John_Romano)\
**Post date:** [June 20, 2023, 11:55am UTC](https://community.glideapps.com/t/if-this-then-that/62966/1 "2023-06-20T11:55:29Z")

</div>

How do i set a an action up when a new record is created then this happens. I cant seem to make this work. I want to send a webhook off when a new row is added, or when a new row is added that meets a condition.

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [June 20, 2023, 11:59am UTC](https://community.glideapps.com/t/if-this-then-that/62966/2 "2023-06-20T11:59:15Z")

</div>

Can you show what you’ve tried, and where you’re getting stuck?

---

<div class="post-metadata">

**Author:** ![John\_Romano](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/john_romano/32/74316_2.png) [@John\_Romano](https://community.glideapps.com/u/John_Romano)\
**Post date:** [June 20, 2023, 12:17pm UTC](https://community.glideapps.com/t/if-this-then-that/62966/3 "2023-06-20T12:17:42Z")

</div>

> **[Setting up a Webhook for Contact Rows 📲](https://www.loom.com/share/a66184e05ad94970963288c8f93752dc?sid=8e1ddf07-ae85-4dd9-a8fa-106a5f04da22)**
>
> Hey there! In this Loom, I'm trying to set up a webhook that will fire off every time a new contact row is created in my data source. I want the webhook to write the contact information to my phone system. However, I'm having trouble getting it to...

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [June 20, 2023, 12:25pm UTC](https://community.glideapps.com/t/if-this-then-that/62966/4 "2023-06-20T12:25:24Z")

</div>

Have you actually attached the action to anything?  
Seems the logical place would be to make it an onSubmit action with your form.  
You shouldn’t need the wait condition, just fire the webhook as an onSubmit action.

---

<div class="post-metadata">

**Author:** ![John\_Romano](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/john_romano/32/74316_2.png) [@John\_Romano](https://community.glideapps.com/u/John_Romano)\
**Post date:** [June 20, 2023, 12:32pm UTC](https://community.glideapps.com/t/if-this-then-that/62966/5 "2023-06-20T12:32:59Z")

</div>

that makes sense…I was thinking of it the wrong way…  
what about if a record is updated then…

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [June 20, 2023, 12:38pm UTC](https://community.glideapps.com/t/if-this-then-that/62966/6 "2023-06-20T12:38:20Z")

</div>

Same thing. Assuming that you use a native edit form, then configure it as an onSubmit action.
