Increment table ID field from the app

hello @Andres, great question!!

as @mcc6025 correctly pointed out, you could use a Connector to the Table API. here’s a quick guide:

  1. create a Connector Function to the Table. for reference, here’s the endpoint I used: /records?limit=1&sortBy=_sequenceNumber&sortDir=desc. as you can see it will always output the largest ID in the Table:


  2. you can then Run the Connector Function from your app and simply increment the max value by 1:

  3. result:

at this point, you can create a new Table Record with that ID (7 in this example).

does that make sense?? let us know!!