# How to invoke a bot from outside AE

**URL:** <https://community.automationedge.com/t/how-to-invoke-a-bot-from-outside-ae/1865>\
**Category:** Get Help & Discuss\
**Created:** [March 27, 2020, 8:20am UTC](https://community.automationedge.com/t/how-to-invoke-a-bot-from-outside-ae/1865 "2020-03-27T08:20:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![degoliab](https://avatars.discourse-cdn.com/v4/letter/d/82dd89/32.png) [@degoliab](https://community.automationedge.com/u/degoliab)\
**Post date:** [March 27, 2020, 8:20am UTC](https://community.automationedge.com/t/how-to-invoke-a-bot-from-outside-ae/1865/1 "2020-03-27T08:20:36Z")

</div>

hi

In an asynchronous business flow, I am sending data to an external system via REST API. But how do we receive the response data back in AE? one way is to expose a separate bot through REST and this bot be called using REST API. Can someone guide please on how to enable REST API for a bot so that it can be called from outside.

Thanks,  
Bhavanishankar

---

<div class="post-metadata">

**Author:** ![richagroverr](https://avatars.discourse-cdn.com/v4/letter/r/f4b2a3/32.png) [@richagroverr](https://community.automationedge.com/u/richagroverr)\
**Post date:** [May 20, 2020, 6:13pm UTC](https://community.automationedge.com/t/how-to-invoke-a-bot-from-outside-ae/1865/2 "2020-05-20T18:13:25Z")

</div>

Could you help me with the same question looking for same option ?

---

<div class="post-metadata">

**Author:** ![rakesh.kale](https://avatars.discourse-cdn.com/v4/letter/r/ac91a4/32.png) [@rakesh.kale](https://community.automationedge.com/u/rakesh.kale)\
**Post date:** [May 21, 2020, 4:37am UTC](https://community.automationedge.com/t/how-to-invoke-a-bot-from-outside-ae/1865/3 "2020-05-21T04:37:55Z")

</div>

Hi Richa,

I am attaching a latest AutomationEdge REST API guide for your reference. Please refer the same.[AE\_REST\_API\_Guide\_5.4.0\_Onwards\_ExternalUse.pdf](https://community.automationedge.com/uploads/short-url/wWncrk6Bofvjr77CkUXNwNHehn4.pdf) (463.8 KB)

---

<div class="post-metadata">

**Author:** ![fbaldin](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.automationedge.com/fbaldin/32/99_2.png) [@fbaldin](https://community.automationedge.com/u/fbaldin)\
**Post date:** [January 21, 2021, 1:28pm UTC](https://community.automationedge.com/t/how-to-invoke-a-bot-from-outside-ae/1865/4 "2021-01-21T13:28:37Z")

</div>

I believe that everytime you send a APi request you get the Workflow Id as a result, correct?

with that info, you can check the API to see the status of that Workflow using that ID, this way you are able to see if the WF has finished or not.

another option is to insert inside the workflow a request with the information alerting the external system that the WF has finished.

those are some options I came up with if I got your problem correctly.
