# Can we add action to Custom AI?

**URL:** <https://community.glideapps.com/t/can-we-add-action-to-custom-ai/76393>\
**Category:** General\
**Created:** [September 15, 2024, 4:10pm UTC](https://community.glideapps.com/t/can-we-add-action-to-custom-ai/76393 "2024-09-15T16:10:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![micheal](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/micheal/32/80181_2.png) [@micheal](https://community.glideapps.com/u/micheal)\
**Post date:** [September 15, 2024, 4:10pm UTC](https://community.glideapps.com/t/can-we-add-action-to-custom-ai/76393/1 "2024-09-15T16:10:17Z")

</div>

So I’ve been doing cool things with the Custom AI component is there a way to add actions? I think it’s still a work in progress.

 ![2024-09-15 17_08_19-HVAC · Glide](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/2/928d197406d4bd290feff3ae8eb16dac85df6b83.png)

---

<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:** [September 15, 2024, 11:28pm UTC](https://community.glideapps.com/t/can-we-add-action-to-custom-ai/76393/2 "2024-09-15T23:28:25Z")

</div>

If you add an action in the third section here, tell the AI to add it where you want to, name it, then check if it works in both your builder and production environments.

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/2/5/25c17d929f7825963088027c698c99d5166a2647.png)

---

<div class="post-metadata">

**Author:** ![micheal](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/micheal/32/80181_2.png) [@micheal](https://community.glideapps.com/u/micheal)\
**Post date:** [September 16, 2024, 9:11am UTC](https://community.glideapps.com/t/can-we-add-action-to-custom-ai/76393/3 "2024-09-16T09:11:51Z")

</div>

Alright I’ll give it a try

---

<div class="post-metadata">

**Author:** ![micheal](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/micheal/32/80181_2.png) [@micheal](https://community.glideapps.com/u/micheal)\
**Post date:** [September 16, 2024, 9:23am UTC](https://community.glideapps.com/t/can-we-add-action-to-custom-ai/76393/4 "2024-09-16T09:23:14Z")

</div>

Also, Is it possible to get the data from the custom code from a query? I’m testing things out but this style only pulls the first row in the table. Is there a way to pull all the rows and group them like shown?

 ![2024-09-16 10_21_01-HVAC · Glide](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/7/c/7c10b1d3122efee3c146a61870de0bd0a9c4f3aa.png)
