# Implement delay in my workflow communicating with external API

**URL:** <https://forum.bubble.io/t/implement-delay-in-my-workflow-communicating-with-external-api/18612>\
**Category:** APIs\
**Created:** [October 2, 2017, 6:59pm UTC](https://forum.bubble.io/t/implement-delay-in-my-workflow-communicating-with-external-api/18612 "2017-10-02T18:59:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ccku07](https://avatars.discourse-cdn.com/v4/letter/c/b2d939/32.png) [@ccku07](https://forum.bubble.io/u/ccku07)\
**Post date:** [October 2, 2017, 6:59pm UTC](https://forum.bubble.io/t/implement-delay-in-my-workflow-communicating-with-external-api/18612/1 "2017-10-02T18:59:59Z")

</div>

I’m using API connector to make calls to an external API. I’m using a workflow to send POST requests to send some data to the external API which is required to perform some tasks which take up some time to finish. For some reason, my workflow continues and the API end point does not finish the task. How can I implement some delay in my workflow so that to wait for the external API to finish?

Thanks

---

<div class="post-metadata">

**Author:** ![copilot](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/copilot/32/32859_2.png) [@copilot](https://forum.bubble.io/u/copilot)\
**Post date:** [October 2, 2017, 8:32pm UTC](https://forum.bubble.io/t/implement-delay-in-my-workflow-communicating-with-external-api/18612/2 "2017-10-02T20:32:14Z")

</div>

Hey @ccku07,

You could introduce a delay under _Workfows \> Navigation \> Add a pause before next action_ to get it done. 🙂

---

<div class="post-metadata">

**Author:** ![jbyrd20](https://avatars.discourse-cdn.com/v4/letter/j/9fc29f/32.png) [@jbyrd20](https://forum.bubble.io/u/jbyrd20)\
**Post date:** [October 3, 2017, 2:24am UTC](https://forum.bubble.io/t/implement-delay-in-my-workflow-communicating-with-external-api/18612/3 "2017-10-03T02:24:08Z")

</div>

Looks like “Add a pause” only works on the client side, not server side.

> **Add a pause before next action**  
> This action pauses the workflow for the number of milliseconds entered. This is useful if you want to wait before animating an element, etc. This will have no impact on actions that happen on the server, like data modifications, sending emails, etc.

> **[Introduction](https://manual.bubble.io/)**
>
> Welcome to the Bubble Docs.

I need the same server-side delay function for one of my apps. Still looking for a solution.

---

<div class="post-metadata">

**Author:** ![jbyrd20](https://avatars.discourse-cdn.com/v4/letter/j/9fc29f/32.png) [@jbyrd20](https://forum.bubble.io/u/jbyrd20)\
**Post date:** [October 3, 2017, 3:27am UTC](https://forum.bubble.io/t/implement-delay-in-my-workflow-communicating-with-external-api/18612/4 "2017-10-03T03:27:34Z")

</div>

What you can do is create a Custom Event in the workflow. Have the Custom Event call the API. You can then use “Custom Event → Schedule a custom event” to call the Custom event you created with a delay in seconds.

 ![2017-10-02 23_20_34-mycaters2 - Bubble Editor](https://us1.discourse-cdn.com/bubble/original/3X/0/d/0d0e71745f1ee794bf442f52eb38f5fe1589a736.png)

 ![2017-10-02 23_21_05-mycaters2 - Bubble Editor](https://us1.discourse-cdn.com/bubble/original/3X/9/1/91467b36ca2b2b5d989a0d5c7d727166eba8b289.png)

Hope this makes sense.

---

<div class="post-metadata">

**Author:** ![ccku07](https://avatars.discourse-cdn.com/v4/letter/c/b2d939/32.png) [@ccku07](https://forum.bubble.io/u/ccku07)\
**Post date:** [October 3, 2017, 5:24am UTC](https://forum.bubble.io/t/implement-delay-in-my-workflow-communicating-with-external-api/18612/5 "2017-10-03T05:24:52Z")

</div>

It works !!! Thanks so much. Appreciated your help. @jbyrd20
