looking for trigger & automation guide
![thomas](https://us.v-cdn.net/6037124/user_avatars/1855282.jpg)
just like Airtable, i would like to make automated tasks when a record row is generated -> create new row in another table
ex. when a new record is generated in a table, then create another record in a different table based on the values.
what kinda guide do i have to look at?
i watched function, custom function, background task video.. but all of them are not about trigger based automation. so frustrated.. please help me
Comments
-
It still doesn't. But I believe this will be very powerful when it does. In Bubble this is possible and helps a lot.
-
Hi ,
This is 100% supported. The database table view is for raw data entry - it is not designed for triggers. If you want to trigger something, then you should be using our functionstack within an API endpoint. That way you have complete control over exactly what you need to do. -
thx for ur comment. i actually watched all of the guide video of yours but, still i cannot do any scratch at all.
UI is not easy to do.
could you please let me know how to try with just a simple workflow or example flow?
i usually could follow up other Saas with tech creators but there are not enough Xano usecase -
i think i would make Xano usercase tutorial videos with your help, when finishing setting up my backend
-
Hey guys...quick follow up on this as it pertains to Outseta integration. So my understanding is the Xano user table gets populated on login, i'd like to have a trigger when that account gets created in outseta( but in reality i think it will occur on first login). Based on Sean's comment, should i add a function within the outseta *token exchange* API endpoint to do the various triggers and additional logic and inserts when that user does login for the first time in Xano?
Just looking for direction to start off on right foot.
Thanks -
This is 100% supported.
It's not supported the way people are looking for it.
And allowing triggers only through API endpoints is a limitation, not a feature.
People are coming from Airtable where doing automations is a breeze, and becomes super difficult to achieve with Xano.Same reasoning is valid for Formulas, a breeze in Airtable, and impossible in Xano. Sure, you can create dedicated API endpoints to return the equivalent to formula fields, but it's not the same at all, because you can't have data powered by formulas, unlike Airtable's.
-
Field triggers and formula fields should be available in Xano as soon as possible. There are too many use cases in which those features are the best solution by far.
-
Airtable Formula feature is the #1 reason I didn't use a traditional database (postgres, etc.) for the past 5 years. It made something super complicated into something super simple. I'm missing it dearly.
-
@Ambroise have you tried the QueryAllRecords
evals
? You can do formula fields and aggregates nicely with them. -
Thanks, I wasn't aware of that "eval" feature.
Is it faster than looping through a collection of items to "enhance" them with additional properties? -
@Ambroise it should be faster because it is integrated within the same function call, benefiting from the PostgreSQL extending SQL features.
-
Interesting, I've gone a different way since the beginning, by having Function that "enhance" a record.
I looked into Eval, but found it quite limited, as I wanted to mutate the current object and add plenty of properties, related on each other (similar to Airtable Formulas) and found the UX for Eval to be a non-starter.
Maybe I'll revisit that someday.
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback