Updating multiple records in Xano in one go

Hi, me again. :slightly_smiling_face:

I am about to try something new for the first time - updating multiple records in Xano in one go based on a single click in WeWeb. That single click will need to submit all records in a WeWeb collection and make the same update on every record - updating the status field.

What’s the best resource for me to learn how to do this please?

Thought I had it, but getting an error from Xano that my input ‘is not a valid integer’ - see video. Anyone able to help please?

Hey,

2 ways to do this:

  • Use an iterator loop in WeWeb and repeat a simple update call to Xano
  • Safer, I would recommend this one: creating an endpoint in Xano that would expect an array of objects, and then do a bulk update on each object
2 Likes

I did the second option and it worked thanks @Quentin