Enough said for a lot of useful, time saving reasons
Hey @Ben, thank you for your suggestion. I will definitely add it to our feature requests list.
I saw that Softr itself has a proper delete button integrated. Is there a way by now to integrate that as a user?
Hi Tim!
I will release a guide about it tomorrow, in the community - Help & Guides section - And hereš
Amazing! Thanks so much
And this guide wonāt be released as deleting a user in Airtable wonāt automatically delete a user in Softr .
This is a limitation of the 2 way user sync right now.
Though this can be achieved with Make with a simple scenario Webhook + Delete a User Action (softr module) + a small code snippet to redirect the user properly and within a correct amount of time + A correct user experience (needs double check before deleting an account)
Should I make it a guide for this?
I would love that!!
Hi Matthieu,
Iāve appreciated your tips and guides for a while. However, Iāve noticed they rely a lot more on Make lately, which increases creatorsā variable costs significantly. Not to mention that Make can be cumbersome to configure.
Also, your logic fundamentally assumes we want to control our users through Softr rather than through our database. For me, that does not make sense:
- We can manage users more efficiently in our database using filters, groups, views which we cannot do in Softr
- User permissions on Softr are already dependent on our database configuration
- Managing multiple users in Softr is also cumbersome, since you have to manually manage each one at a time
Iām finding that the more control over the way I engage with my users diminishes, the more reliant I am on time consuming workarounds, expensive 3rd party integrators, and custom coding that can break over time. These are just a few basic reasons why a true two-way sync, that deletes Softr users when they are deleted in a database, makes more sense for creators.
It relies on Softr technical capacities and limits + my strong experience (one of the strongest here) to build apps for clients - specifically client portals and internal tools which are the core of the Softr business (Indie makers are not, though Iām also an indie maker and that sometimes I would like Softr go this way). Nothing more.
No-code also means dealing with limitations. And dealing with limitations is, thanks to Make, among others, possible.
āA true two-way sync, that deletes Softr users when they are deleted in a database, can make more sense for creators.ā => Absolutely not for companies as a lot of them work directly inside the database (Airtable for the Softr case). As a consequence accidentally delete a client, in their case, is not an option.
Yes it could be an option but, in this specific case, such Make automation doesnāt need any pricing plan. Iām not going to scream on Softr team to push them to do something that is easily doable any other way.
I, and my guides, donāt fundamentally assume anything.
These are just guides that I do on my own time, for free. This is pure hobby for me, on the side.
This is my pleasure, that I share, nothing more.
Exactly the same for custom code guides (which are 80% of my guides, unlike Make guides)
Most of my evenings and nights are made of learning code, practicing Softr, building databases, practicing on other and way more complex no-code or low-code tools and finishing work for clients all around the world.
I share a percentage of what I know and what I want = my freedom.
Iām not a Softr product manager. Simple as that .
They do with what they have and they know, them before you, how severe I can be with them sometimes.
Hi Matthieu. Yes, itās clear that Softr is focusing more on company users now and there are still a lot of ālimitationsā with no-code. However, those limitations impose costs on indie, corporate, and ALL no-code creators alike. Isnāt the value of Softr to minimize these no-code limitations?
If admin is concerned about deleting users by mistake, enabling editing permissions in your database can prevent anyone from inadvertently deleting records.
Hello All,
Wanted to post this for anyone in need of it. If you need to delete a user through an Airtable automation you can do it like this:
- Setup a field in the airtable users table that is a checkbox or anything that you can use to trigger an event. I used a checkbox.
- Have softer do a quick edit to the field
- Setup an airtable automation when that field is updated.
- Add a script block to the automation and enter the following code:
let inputConfig = input.config();
let apiUrl = 'https://studio-api.softr.io/v1/api/users/'+inputConfig.user_email;
console.log(apiUrl);
let requestOptions = {
method: 'DELETE',
headers: {
'Softr-Api-Key': 'PutYourSofterApitKeyHere',
'Softr-Domain': 'PutYourSoftrDomainHere'
}
};
//console.log(requestOptions);
let response = await fetch(apiUrl, requestOptions);
//console.log(await response.text());
Make sure you pass in a variable āuser_emailā that has the full users email. This is how the DELETE request works for Softr - it needs the email address to determine which user to delete.
Use this only when needed though, as deleting users can be a pain if itās not intended.
Hope this helps!
Thanks,
Paul
Thanks Paul. This sounds useful since Softr does not have a native email verification for external user sign up. May even work for internal parent users to delete users under them. Nice!