Documentation Index
Fetch the complete documentation index at: https://docs.softr.io/llms.txt
Use this file to discover all available pages before exploring further.
In this use case, we are going to use the API to add users to a Softr app via Make. We are going to add users on Airtable and send them to Softr. Let’s proceed.
Setting a Trigger
First of all, we’re going to create a table on Airtable with Name, Email, Password, Magic Link, Created Date/Time (needed for watching record creation in Make) columns to store user data.Then, we’ll go to Make dashboard, create a new scenario, and add a trigger that watches for new records on our selected table. See below.Now, we need to set up an Action to add the users received from Airtable. There are two options for this:
-
Make’s Softr module;
-
Custom HTTPrequest.
Let’s consider each option separately. Configuring the Action
Let’s add a new module to the scenario, search for “Softr,” and select it.Then, we are going to choose the Create a User option.Next, we need to establish a connection with our Softr account and app, inputing the Softr API key and the domain of the app we want to add users to.Lastly, we need to map the user fields from our table as shown below.As you can see, we haven’t mapped the
Magiclink field from the table but have just set the value to
Yes to generate one automatically. We can sync it back to a
Airtable if we
connect it to Softr, which we’ll discuss in
Step 3.
That’s it. Now, we just need to save the module and the scenario is ready. Let’s test it to make sure everything is working correctly. Testing the Scenario
Let’s add a new user to our table and check if it’s sent to our Softr app successfully.
This is optional, but we are also going to
connect our Softr users base to the same Airtable base and table at the beginning to sync user data
from Softr to Airtable as well. This way, the magic link that’s been generated when fetching the user
from Airtable to Softr will be stored in Softr and eventually
synced back to Airtable.
Setting a Trigger
First of all, we’re going to create a table on Airtable with Name, Email, Password, Magic Link, Created Date/Time (needed for watching record creation in Make) columns to store user data.Then, we’ll go to Make dashboard, create a new scenario, and add a trigger that watches for new records on our selected table. See below.Now, we need to set up an Action to add the users received from Airtable. There are two options for this:
-
Make’s Softr module;
-
Custom HTTPrequest.
Let’s consider each option separately. Configuring the Action
In this case, we need to create a new module, search for HTTP, select it, and choose the Make a request action.Now, let’s start configuring the module based on our endpoint. First we need to add our URL, then select the method (POST), and finally add the required headers. We don’t need to add the Content-Type header, as it’s going to be added in the next step. Below, you can see what it should look like.Further on, we need to set the Body Type to Raw and the Content Type to JSON. Lastly, we are going to fill in the Request Content using the format provided above. Please, note that the Parse response option should be set to Yes. Testing the Scenario
So, we’re almost there. Let’s just add a new record in our table and run the scenario to test it. As, you can see below, the user is successfully added to our Softr app.
This is optional, but we are also going to
connect our Softr users base to the same
Airtable base and table at the beginning to sync user data
from Softr to Airtable as well. This way, the magiclink that’s been generated when fetching the user
from Airtable to Softr will be stored in Softr and eventually
synced back to Airtable.
Deleting a User
The delete request can be implemented in a similar way through an HTTP (Make a request) module.