# New user has their rowID change after signing in and using a webhook for Zapier

**URL:** <https://community.glideapps.com/t/new-user-has-their-rowid-change-after-signing-in-and-using-a-webhook-for-zapier/73939>\
**Category:** Report a Bug\
**Created:** [June 6, 2024, 7:37pm UTC](https://community.glideapps.com/t/new-user-has-their-rowid-change-after-signing-in-and-using-a-webhook-for-zapier/73939 "2024-06-06T19:37:23Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [June 9, 2024, 1:15am UTC](https://community.glideapps.com/t/new-user-has-their-rowid-change-after-signing-in-and-using-a-webhook-for-zapier/73939/13 "2024-06-09T01:15:39Z")

</div>

It’s just one further step to run a JavaScript.

> [@Zapier integration : Get row ID based on another field](https://community.glideapps.com/t/zapier-integration-get-row-id-based-on-another-field/72995/2):
>
> Just successfully tested this. Add a “Code by Zapier” step and choose Run Javascript. [image] Setup the inputs as I have below. The “search” part will reference the email you want to find the rowID for. Now here’s the code: let emails = inputData.emails.split(","); let rowIDs = inputData.rowIDs.split(","); let index = emails.findIndex(email =\> email.includes(inputData.search)); output = {rowID: rowIDs[index]}; I split the emails and rowIDs into arrays, then find the index of t…

---

_[View the full topic](https://community.glideapps.com/t/new-user-has-their-rowid-change-after-signing-in-and-using-a-webhook-for-zapier/73939)._
