Glide’s new native API functionality has unlocked a ton of power
I’ve always wanted the ability to natively add, edit, or delete multiple rows without needing Make/Zapier…
And after seeing a quick loom from @Darren_Murphy I was reminded that this is now possible
In this video I explain:
How to add a predefined list of tasks to a new project.
How to delete any tasks related to a project that you delete.
There may be more efficient ways of doing this (e.g. deleting rows via the relation/query column) but the fact that it’s possible via API is what excites me!
Possible Use Cases Include:
Have predefined “groups” of rows that you can add and relate to parent row in a single action.
Editing all related rows when the parent row is edited.
Deleting all related rows when you delete the parent row.
@Loqode I really need your help to implement Call API columns in one of my projects.
I will explain you my scenario. A Client submits a form with many values in an App. Out of many values, there is one component wherein a client has to select multiple States. What I want is, upon form submission, if 30 states are selected, 30 new rows for each state shall be added in another table.
I followed your instructions as per view and I hope I have done it correctly. However, while executing actions, I am getting an error “Call API: No Response”. Can you help me troublesheet it?
Well, a joined list column on it’s own doesn’t create a JSON string. You must be joining something, and that something must have been created… somehow…
Usually, the JSON for each row would be created in one of 3 ways:
a template column
a JSON Object column (the new one)
a Make JSON Object column (the old one)
Are you using one of those 3, or some other way?
The second one is probably the recommended way, although that column is still in Previews and probably not fully baked yet. So I don’t know how reliable it is just yet.
@Darren_Murphy, I removed comma after last column value and tried to validate. Now it shows Valid JSON. However, it is still not working.
This is the final payload.
EDIT:
It’s working now. I published the changes and then it worked. It was not even working on Editor. Now it’s working in both editor as well on published app.