# Run External Action in script

**URL:** <https://community.fibery.io/t/run-external-action-in-script/8666>\
**Category:** API & Programming\
**Created:** [April 27, 2025, 12:17am UTC](https://community.fibery.io/t/run-external-action-in-script/8666 "2025-04-27T00:17:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tommy\_Hedley](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/tommy_hedley/32/6468_2.png) [@Tommy\_Hedley](https://community.fibery.io/u/Tommy_Hedley)\
**Post date:** [April 27, 2025, 12:17am UTC](https://community.fibery.io/t/run-external-action-in-script/8666/1 "2025-04-27T00:17:23Z")

</div>

Is it possible to run external actions via automation scripts? I am trying to do some validation before running an external action so I only run the action when appropriate, and I can’t see a way to do that without using automation scripts.

---

<div class="post-metadata">

**Author:** ![Chr1sG](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/chr1sg/32/3941_2.png) [@Chr1sG](https://community.fibery.io/u/Chr1sG)\
**Post date:** [April 27, 2025, 7:45am UTC](https://community.fibery.io/t/run-external-action-in-script/8666/2 "2025-04-27T07:45:48Z")

</div>

What do you mean by ‘external actions’?

> [@Tommy\_Hedley](#):
>
> Is it possible to run external actions via automation scripts?  
> …  
> I can’t see a way to do that without using automation scripts.

I don’t get it. Do you want to use a script or not?

---

<div class="post-metadata">

**Author:** ![Tommy\_Hedley](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/tommy_hedley/32/6468_2.png) [@Tommy\_Hedley](https://community.fibery.io/u/Tommy_Hedley)\
**Post date:** [April 27, 2025, 8:47am UTC](https://community.fibery.io/t/run-external-action-in-script/8666/3 "2025-04-27T08:47:16Z")

</div>

Apologies, I should have explained be better. By external action I mean a [custom integration app external action](https://the.fibery.io/@public/User_Guide/Guide/Custom-App-External-actions-API-(beta)-278). This is really just an extension of what I asked here: [End an automation partway through with script](https://community.fibery.io/t/end-an-automation-partway-through-with-script/5225). I would like to be able to start a button automation, check some criteria, and then conditionally run an external action based on the results of a the check. I know I can cancel an automation using an error (only 5 times before reset), or I could set a checkbox and have an additional rule based automation, but these options have some drawbacks. I thought maybe with the addition of the executeAction method, it might be possible to call external actions directly in scripts, which would make it much easier to run them conditionally.

---

<div class="post-metadata">

**Author:** ![Chr1sG](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/chr1sg/32/3941_2.png) [@Chr1sG](https://community.fibery.io/u/Chr1sG)\
**Post date:** [April 28, 2025, 10:43am UTC](https://community.fibery.io/t/run-external-action-in-script/8666/4 "2025-04-28T10:43:48Z")

</div>

I have checked, and it’s currently not possible to execute an integration external action via a script, sorry.

---

<div class="post-metadata">

**Author:** ![Tommy\_Hedley](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/tommy_hedley/32/6468_2.png) [@Tommy\_Hedley](https://community.fibery.io/u/Tommy_Hedley)\
**Post date:** [April 28, 2025, 2:20pm UTC](https://community.fibery.io/t/run-external-action-in-script/8666/5 "2025-04-28T14:20:59Z")

</div>

Thank you very much for checking!

---

<div class="post-metadata">

**Author:** ![Chr1sG](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/chr1sg/32/3941_2.png) [@Chr1sG](https://community.fibery.io/u/Chr1sG)\
**Post date:** [April 29, 2025, 11:10am UTC](https://community.fibery.io/t/run-external-action-in-script/8666/6 "2025-04-29T11:10:47Z")

</div>


