# Create a new row and use its data to open a new page

**URL:** <https://community.glideapps.com/t/create-a-new-row-and-use-its-data-to-open-a-new-page/59474>\
**Category:** Ask for Help\
**Created:** [March 21, 2023, 4:26pm UTC](https://community.glideapps.com/t/create-a-new-row-and-use-its-data-to-open-a-new-page/59474 "2023-03-21T16:26:53Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Diego\_Vega](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/diego_vega/32/54890_2.png) [@Diego\_Vega](https://community.glideapps.com/u/Diego_Vega)\
**Post date:** [March 21, 2023, 4:26pm UTC](https://community.glideapps.com/t/create-a-new-row-and-use-its-data-to-open-a-new-page/59474/1 "2023-03-21T16:26:53Z")

</div>

Hey guys!

I need to find a way to create a new row for some table, and then use its data to open a new slide in screen. Is this possible?

The particular use case is that we’re integrating a payment method into our app, through Zapier, and I need to create a new “Payment” item and send the **Row ID** of the newly created payment intent to Zap using the Trigger Zap action.

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [March 21, 2023, 4:44pm UTC](https://community.glideapps.com/t/create-a-new-row-and-use-its-data-to-open-a-new-page/59474/2 "2023-03-21T16:44:58Z")

</div>

This might help. The Row ID is ultimately the last path name in a deeplink.

> [@link Create a deeplink to ANY screen](https://community.glideapps.com/t/create-a-deeplink-to-any-screen/53049):
>
> wave Hey fellow Gliders! Need a way to create, store and share any link to any screen within your app? Discover several tips and tricks for generating deeplinks in my latest video: [[Glide Pages: Create the Perfect Deeplink] ](https://www.youtube.com/watch?v=ciUf_qUmTW0)[https://www.glideapps.com/docs/reference/ux/deep-links?gspk=cm9iZXJ0cGV0aXR0bzU5NDE&gsxid=Q9CRCDFpkU2X](https://www.glideapps.com/docs/reference/ux/deep-links?gspk=cm9iZXJ0cGV0aXR0bzU5NDE&gsxid=Q9CRCDFpkU2X)

---

<div class="post-metadata">

**Author:** ![Diego\_Vega](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/diego_vega/32/54890_2.png) [@Diego\_Vega](https://community.glideapps.com/u/Diego_Vega)\
**Post date:** [March 21, 2023, 6:23pm UTC](https://community.glideapps.com/t/create-a-new-row-and-use-its-data-to-open-a-new-page/59474/3 "2023-03-21T18:23:32Z")

</div>

Thanks for the response!

This doesn’t really solve the issue, because what I need to do is to automatically open the details page of an item that the user has just created. In your example, it would be as if a customer hit a “ **Create Thing** ” button, he/she fills the details, and then it automatically opens a page with the details of the newly created **Thing**

Do you know how we can do that? I figured I could maybe just use a form and set the after submit action to open the detail page to that item. If that’s the only way, do you know if it’s possible to edit the form Submit button in some way, so we can include our own CTA?

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [March 21, 2023, 6:26pm UTC](https://community.glideapps.com/t/create-a-new-row-and-use-its-data-to-open-a-new-page/59474/4 "2023-03-21T18:26:26Z")

</div>

If you’re creating the new row using a Form Screen, you can use an On Submit action to Show Detail Screen → This Item

---

<div class="post-metadata">

**Author:** ![Diego\_Vega](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/diego_vega/32/54890_2.png) [@Diego\_Vega](https://community.glideapps.com/u/Diego_Vega)\
**Post date:** [March 21, 2023, 6:55pm UTC](https://community.glideapps.com/t/create-a-new-row-and-use-its-data-to-open-a-new-page/59474/5 "2023-03-21T18:55:07Z")

</div>

That’s really my last hope. If I have a button that has an **Add Row** action to create a new item in another table, is there any way to automatically open a page with the details of that newly created row, once the “ **Add Row** ” button is clicked? It’d be pretty much as if a custom action triggered an add row, and afterwards something that opens a page with the details of that row

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [March 22, 2023, 12:31am UTC](https://community.glideapps.com/t/create-a-new-row-and-use-its-data-to-open-a-new-page/59474/6 "2023-03-22T00:31:01Z")

</div>

I’m not entirely sure, but it might work:

- Set column to set a unique ID in a column of the screen you’re building the form in (you can do this on entry to that screen).

- Wait for condition \> Make sure the unique ID column is not empty.

- Add row \> Add the unique ID column to a row in the destination table.

- Create a relation on the source table (same as the 1st step), create a relation from the unique ID column in there to the unique ID column in the destination table.

- Wait for condition again, make sure the relation is not empty.

- Show details screen of the relation.
