# Element ID number

**URL:** <https://forum.adalo.com/t/element-id-number/8851>\
**Category:** Database\
**Created:** [February 6, 2021, 11:04am UTC](https://forum.adalo.com/t/element-id-number/8851 "2021-02-06T11:04:48Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![AfonsoMarques](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/afonsomarques/32/28504_2.png) [@AfonsoMarques](https://forum.adalo.com/u/AfonsoMarques)\
**Post date:** [February 6, 2021, 11:04am UTC](https://forum.adalo.com/t/element-id-number/8851/1 "2021-02-06T11:04:48Z")

</div>

Hello guys, how i get the element id auto in a adalo app?

I guess that if adalo pass the element id to zapier very easily this should be easy to reach for users like created date or so.

I need that to automate order payments because zapier at least take 1 to 2 min to retrive a new record and my clients are complaining of the wait to pay.

Can someone help ?

Thanks

---

<div class="post-metadata">

**Author:** ![bhanu](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/bhanu/32/6859_2.png) [@bhanu](https://forum.adalo.com/u/bhanu)\
**Post date:** [February 6, 2021, 4:46pm UTC](https://forum.adalo.com/t/element-id-number/8851/2 "2021-02-06T16:46:38Z")

</div>

why don’t you trigger a webhook to Zapier or Integromat instead of waiting for Zapier to fetch new records every 1-2 minutes?

Webhooks are instant and can trigger action immediately. I haven’t done this in Zapier but have a fair understanding about it in Integromat. Let me know if you need any help.

---

<div class="post-metadata">

**Author:** ![AfonsoMarques](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/afonsomarques/32/28504_2.png) [@AfonsoMarques](https://forum.adalo.com/u/AfonsoMarques)\
**Post date:** [February 7, 2021, 6:24am UTC](https://forum.adalo.com/t/element-id-number/8851/3 "2021-02-07T06:24:10Z")

</div>

i can’t make a webhook that send the element ID can i?

Please do

---

<div class="post-metadata">

**Author:** ![bhanu](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/bhanu/32/6859_2.png) [@bhanu](https://forum.adalo.com/u/bhanu)\
**Post date:** [February 7, 2021, 6:31am UTC](https://forum.adalo.com/t/element-id-number/8851/4 "2021-02-07T06:31:50Z")

</div>

You can trigger a webhook to integromat to fetch the records (including element ID) using a http call, it’s more of a trigger to alert integromat to perform the duties.

---

<div class="post-metadata">

**Author:** ![AfonsoMarques](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/afonsomarques/32/28504_2.png) [@AfonsoMarques](https://forum.adalo.com/u/AfonsoMarques)\
**Post date:** [February 7, 2021, 6:32am UTC](https://forum.adalo.com/t/element-id-number/8851/5 "2021-02-07T06:32:37Z")

</div>

i will check on integromat, because in zapier does not work that way.

---

<div class="post-metadata">

**Author:** ![bhanu](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/bhanu/32/6859_2.png) [@bhanu](https://forum.adalo.com/u/bhanu)\
**Post date:** [February 7, 2021, 6:34am UTC](https://forum.adalo.com/t/element-id-number/8851/6 "2021-02-07T06:34:38Z")

</div>

Yup integromat is more flexible here!

---

<div class="post-metadata">

**Author:** ![AfonsoMarques](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/afonsomarques/32/28504_2.png) [@AfonsoMarques](https://forum.adalo.com/u/AfonsoMarques)\
**Post date:** [February 7, 2021, 6:51am UTC](https://forum.adalo.com/t/element-id-number/8851/7 "2021-02-07T06:51:09Z")

</div>

how to you set to send the element id to integromat’?

---

<div class="post-metadata">

**Author:** ![bhanu](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/bhanu/32/6859_2.png) [@bhanu](https://forum.adalo.com/u/bhanu)\
**Post date:** [February 7, 2021, 6:53am UTC](https://forum.adalo.com/t/element-id-number/8851/8 "2021-02-07T06:53:43Z")

</div>

Http call from integromat to Adalo’s collections will retrieve all the fields in the collection, one of them would be recordID or elementID as you call it

---

<div class="post-metadata">

**Author:** ![clementmonbonpro](https://avatars.discourse-cdn.com/v4/letter/c/c6cbf5/32.png) [@clementmonbonpro](https://forum.adalo.com/u/clementmonbonpro)\
**Post date:** [March 16, 2021, 3:29pm UTC](https://forum.adalo.com/t/element-id-number/8851/9 "2021-03-16T15:29:35Z")

</div>

Hi @bhanu ,

Would you have some screenshots to show this ? I’m a newbie in API calls and that would help a lot !

Thanks !

---

<div class="post-metadata">

**Author:** ![Chris\_H](https://avatars.discourse-cdn.com/v4/letter/c/439d5e/32.png) [@Chris\_H](https://forum.adalo.com/u/Chris_H)\
**Post date:** [April 6, 2021, 2:58pm UTC](https://forum.adalo.com/t/element-id-number/8851/10 "2021-04-06T14:58:58Z")

</div>

@AfonsoMarques - were you able to resolve this?

@bhanu - would you mind providing a bit more detail with an example here?

It does seem like this could be feasible with Integromat either by getting all the records through the Adalo API and then filtering (which is complicated, especially if you have to use pagination) or creating a “watch records” trigger (although that can only run periodically). But it does feel as though there should be a cleaner way.

To simplify part of the process, my plan is to make an extra field in the collection that serves as a copy of the element ID. Then I only need to set that element ID copy the first time the record is created and then I can easily use it as needed. (Although it’s not best practice to have duplicate data.)

---

<div class="post-metadata">

**Author:** ![AfonsoMarques](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/afonsomarques/32/28504_2.png) [@AfonsoMarques](https://forum.adalo.com/u/AfonsoMarques)\
**Post date:** [April 14, 2021, 9:58pm UTC](https://forum.adalo.com/t/element-id-number/8851/11 "2021-04-14T21:58:55Z")

</div>

Yes, you will need to Use zapier for this

---

<div class="post-metadata">

**Author:** ![Chris\_H](https://avatars.discourse-cdn.com/v4/letter/c/439d5e/32.png) [@Chris\_H](https://forum.adalo.com/u/Chris_H)\
**Post date:** [April 14, 2021, 10:35pm UTC](https://forum.adalo.com/t/element-id-number/8851/12 "2021-04-14T22:35:26Z")

</div>

Good to hear!

Without spending too much time on the details, can you provide guidance on how to do that? Are there ways around the concerns I listed above? Do you consider your approach a long-term fix or a temporary work around until a better way exists?

---

<div class="post-metadata">

**Author:** ![AfonsoMarques](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/afonsomarques/32/28504_2.png) [@AfonsoMarques](https://forum.adalo.com/u/AfonsoMarques)\
**Post date:** [April 14, 2021, 11:51pm UTC](https://forum.adalo.com/t/element-id-number/8851/13 "2021-04-14T23:51:55Z")

</div>

Right now i use this to manage my order booking, and its working,

in my opinion is easier and better than use the API,

because when you create a nem zap Zapier automaticaly retrive the element ID and you can send that element ID thought a “POST” wook and the receive again in a Webhook.

The copy will not work in a high frequency creation of records because sometimes two people or more create at the same time and will break your system.

Right now i thing is the better way.

---

<div class="post-metadata">

**Author:** ![Aizuddin](https://avatars.discourse-cdn.com/v4/letter/a/bc79bd/32.png) [@Aizuddin](https://forum.adalo.com/u/Aizuddin)\
**Post date:** [June 14, 2021, 4:17am UTC](https://forum.adalo.com/t/element-id-number/8851/14 "2021-06-14T04:17:11Z")

</div>

Hi can you show how to do it? I use integromat, However in my webhook field does not show RecordID.

Thanks

---

<div class="post-metadata">

**Author:** ![JL\_LJ](https://avatars.discourse-cdn.com/v4/letter/j/f08c70/32.png) [@JL\_LJ](https://forum.adalo.com/u/JL_LJ)\
**Post date:** [June 14, 2021, 10:30am UTC](https://forum.adalo.com/t/element-id-number/8851/15 "2021-06-14T10:30:54Z")

</div>

Hi you can check the thread here:

> [@API to update collection](https://forum.adalo.com/t/api-to-update-collection/11589):
>
> Hello - I am trying to update a property from a Custom Action using the API for Adalo. I got the link to the API from the DB and tried to set it up. The custom action said the test was successful but when I implement the action nothing happens. My goal is to update a column from False to True. The table (Collection) is Orders. Image below is from the documentation: And this is my custom action: Not sure where I have gone off track. Any assistance would …

You can start with:  
Watch records and then add Update records to update the “human created ID” field with the ADALO ID.

---

<div class="post-metadata">

**Author:** ![AfonsoMarques](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/afonsomarques/32/28504_2.png) [@AfonsoMarques](https://forum.adalo.com/u/AfonsoMarques)\
**Post date:** [June 16, 2021, 12:54pm UTC](https://forum.adalo.com/t/element-id-number/8851/16 "2021-06-16T12:54:54Z")

</div>

Yes, at the moment that value is not passed on that way, you need to use normal trigger with zapier.  
At least for me ( 1000+ trasactions a month) it’s the only way i trust.

---

<div class="post-metadata">

**Author:** ![Chris\_H](https://avatars.discourse-cdn.com/v4/letter/c/439d5e/32.png) [@Chris\_H](https://forum.adalo.com/u/Chris_H)\
**Post date:** [June 16, 2021, 2:28pm UTC](https://forum.adalo.com/t/element-id-number/8851/17 "2021-06-16T14:28:32Z")

</div>

I ended up going a different route with implementing this and followed the approach that was explained by @Victor and @duartefalmeida in this thread:

> [@How to Access Record ID information](https://forum.adalo.com/t/how-to-access-record-id-information/5390/29):
>
> Hi @duartefalmeida, Sorry to interfere here… I wonder why do you get the response content under “records” array in JSON… this is not the case in my Adalo collections used as external one. Could you show the complete setup? All 3 steps? Best, Victor.

Specifically, I did NOT use a third-party API platform like Zapier or Integromat, but instead used Adalo’s own API to effectively make an API call to its own database.

The reason I chose this approach is because:

- It avoids the technical complexity and additional risk of relying on an outside platform
- It would save money (if you aren’t already using one of those outside platforms)

Here’s a summary of the steps I took:

- Created a new Property in the User collection called “Adalo copy element ID”
- Created a new External Collection (as described in the above thread) that uses your own app’s User collection’s API (note the debugging step Victor explained that you need to set the Results Key to “records”)
- On the interim screen I use when creating a new user, I update the User collection “Adalo copy element ID” to be the External Collection Users \> id \> Maximum ids, Filtered by Email is equal to Logged in User Email (you need to ensure the User Email is verified and unique)
- Then I use “Adalo copy element ID” in any APIs going forward

Note: I have not verified this scales to support a larger number of users.

This is of course a workaround and I’m hoping the process ends up being moot once it’s easier to get the Element ID directly.
