# AI Custom Component can't trigger open link

**URL:** <https://community.glideapps.com/t/ai-custom-component-cant-trigger-open-link/81097>\
**Category:** Report a Bug\
**Created:** [April 1, 2025, 2:52pm UTC](https://community.glideapps.com/t/ai-custom-component-cant-trigger-open-link/81097 "2025-04-01T14:52:28Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![MaximeBaker](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/maximebaker/32/80877_2.png) [@MaximeBaker](https://community.glideapps.com/u/MaximeBaker)\
**Post date:** [April 1, 2025, 2:52pm UTC](https://community.glideapps.com/t/ai-custom-component-cant-trigger-open-link/81097/1 "2025-04-01T14:52:28Z")

</div>

When I set an action in an AI component to show a notification on click, it works perfectly. But when I try with an “open link” action, it is not working.

![chrome_mXBPca9A6x](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/f/d/fd14fceb567b64a006b9987428321ca8b1414e22.gif)

---

<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:** [April 2, 2025, 12:37am UTC](https://community.glideapps.com/t/ai-custom-component-cant-trigger-open-link/81097/2 "2025-04-02T00:37:50Z")

</div>

When you inspect the underlying code, I guess it still references @submitForm? I saw this before, I have to add a prompt for the component to understand I’m trying to open a link.

---

<div class="post-metadata">

**Author:** ![MaximeBaker](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/maximebaker/32/80877_2.png) [@MaximeBaker](https://community.glideapps.com/u/MaximeBaker)\
**Post date:** [April 2, 2025, 12:38am UTC](https://community.glideapps.com/t/ai-custom-component-cant-trigger-open-link/81097/3 "2025-04-02T00:38:58Z")

</div>

Yes! I am using a data variable to use the right action.

---

<div class="post-metadata">

**Author:** ![comm\_support\_agent](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/comm_support_agent/32/84195_2.png) [@comm\_support\_agent](https://community.glideapps.com/u/comm_support_agent)\
**Post date:** [April 2, 2025, 10:20am UTC](https://community.glideapps.com/t/ai-custom-component-cant-trigger-open-link/81097/5 "2025-04-02T10:20:03Z")

</div>

The engineering team is aware of this limitation and is investigating the best approach to help improve this behavior. The issue has to do with the iFrame that the AI Custom Component lives in.

Also, please keep in mind that this feature is in beta. Features in beta can be unpredictable and may change as development continues.

---

<div class="post-metadata">

**Author:** ![MaximeBaker](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/maximebaker/32/80877_2.png) [@MaximeBaker](https://community.glideapps.com/u/MaximeBaker)\
**Post date:** [April 2, 2025, 11:31am UTC](https://community.glideapps.com/t/ai-custom-component-cant-trigger-open-link/81097/6 "2025-04-02T11:31:29Z")

</div>

Thanks for the update. Well, I was able to make an AI Custom Component that open a link in a new tab but because it is clicked from an iFrame (not same origin), all the cookie sessions are not loaded. So I wanted to try with the native Open Link action.

---

<div class="post-metadata">

**Author:** ![FrancoisDigico](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/francoisdigico/32/75651_2.png) [@FrancoisDigico](https://community.glideapps.com/u/FrancoisDigico)\
**Post date:** [April 2, 2025, 10:26pm UTC](https://community.glideapps.com/t/ai-custom-component-cant-trigger-open-link/81097/7 "2025-04-02T22:26:38Z")

</div>

@MaximeBaker Cookie or SSID unique ID can be the issue.

---

<div class="post-metadata">

**Author:** ![MaximeBaker](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/maximebaker/32/80877_2.png) [@MaximeBaker](https://community.glideapps.com/u/MaximeBaker)\
**Post date:** [April 2, 2025, 11:26pm UTC](https://community.glideapps.com/t/ai-custom-component-cant-trigger-open-link/81097/8 "2025-04-02T23:26:13Z")

</div>

Can you explain more please?

---

<div class="post-metadata">

**Author:** ![FrancoisDigico](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/francoisdigico/32/75651_2.png) [@FrancoisDigico](https://community.glideapps.com/u/FrancoisDigico)\
**Post date:** [April 2, 2025, 11:51pm UTC](https://community.glideapps.com/t/ai-custom-component-cant-trigger-open-link/81097/9 "2025-04-02T23:51:28Z")

</div>

Well Glide Team explained, so I shut down.

---

<div class="post-metadata">

**Author:** ![MaximeBaker](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/maximebaker/32/80877_2.png) [@MaximeBaker](https://community.glideapps.com/u/MaximeBaker)\
**Post date:** [April 2, 2025, 11:59pm UTC](https://community.glideapps.com/t/ai-custom-component-cant-trigger-open-link/81097/10 "2025-04-02T23:59:57Z")

</div>

Sorry I don’t get it…

> [@FrancoisDigico](#):
>
> @MaximeBaker Cookie or SSID unique ID can be the issue.

---

<div class="post-metadata">

**Author:** ![FrancoisDigico](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/francoisdigico/32/75651_2.png) [@FrancoisDigico](https://community.glideapps.com/u/FrancoisDigico)\
**Post date:** [April 3, 2025, 12:02am UTC](https://community.glideapps.com/t/ai-custom-component-cant-trigger-open-link/81097/11 "2025-04-03T00:02:41Z")

</div>

@MaximeBaker yes i try to pm you MaximeBaker in Canada

---

<div class="post-metadata">

**Author:** ![MaximeBaker](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/maximebaker/32/80877_2.png) [@MaximeBaker](https://community.glideapps.com/u/MaximeBaker)\
**Post date:** [April 3, 2025, 1:14am UTC](https://community.glideapps.com/t/ai-custom-component-cant-trigger-open-link/81097/13 "2025-04-03T01:14:48Z")

</div>

What are you talking about…
