Ask AI

Use Case: Creating a User Profile with List Details

Let users view and edit their profiles.

Here, we are going to create a user profile section using the List Details block, which will let each logged-in user see their own data.

First of all, we need to have a users Airtable base linked in Users section. Below, we have a list of users from Airtable.

Users' Airtable base
Users' Airtable base

Then, we are going to create a separate page (called "My Profile"), add a List Details block there, and link it to the same Users base and table in Airtable. Moreover, we are going to define a conditional filter so that a logged-in user sees the record where the Email matches his/her Email value.

💡
Please, note that if there are multiple records that meet the defined condition, the first record in the list will be shown.
Details block linked to the Users' base with conditional filter
Details block linked to the Users' base with conditional filter

So, that's the setup. Now, any logged-in user that opens the My Profile page, will see his/her own profile info. The process is shown below.

User seeing his/her profile
User seeing his/her profile
Did this answer your question?
😞
😐
🤩

Last updated on December 6, 2022