Create Row in Supabase and retrieve ID just created

When you Use an Integration to Create a New Row (in Supabase) but you don’t set of the fields. When Supabase creates a new row, it automatically sets the ID field with the next increment of the Integer.

Is there a way to retrieve the integer that was just created within Plasmic?

Hey @alyssa_feola.

It should be available in the $steps variable of the interaction.

1 Like

Yes, I figured it out using that!

Now, I’m trying to figure out if there is a way so that when I put the info into another field, that it isn’t created with the bracket

Hell Ya! I figured it out :slight_smile: (with help from the built in Gen AI)

Number($steps.createNewCategoryRow.data[0].id)