# Calling a backend workflow

**URL:** <https://forum.bubble.io/t/calling-a-backend-workflow/246498>\
**Category:** APIs\
**Created:** [February 12, 2023, 2:53am UTC](https://forum.bubble.io/t/calling-a-backend-workflow/246498 "2023-02-12T02:53:22Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![artistdata22](https://avatars.discourse-cdn.com/v4/letter/a/848f3c/32.png) [@artistdata22](https://forum.bubble.io/u/artistdata22)\
**Post date:** [February 12, 2023, 2:53am UTC](https://forum.bubble.io/t/calling-a-backend-workflow/246498/1 "2023-02-12T02:53:22Z")

</div>

Hello,

I am trying to call upon a backend workflow in my regular workflow when a user clicks a button, but not sure how to go about it…  
I’ve tried to “trigger a custom event” but no option pops up in that dropdown.

basically I need the user to be able to trigger this API which is set up in the backend workflow, when they click a button in the regular workflow.

I orignally had it set up in the regular workflow, but I had to move it to backend workflow because I need to use a webhook to retrieve data from the API Call for the user which I see can only be done through backend workflow.

Any idea how to go about this?

Thank you.

---

<div class="post-metadata">

**Author:** ![lantzgould](https://avatars.discourse-cdn.com/v4/letter/l/ecccb3/32.png) [@lantzgould](https://forum.bubble.io/u/lantzgould)\
**Post date:** [February 12, 2023, 3:18am UTC](https://forum.bubble.io/t/calling-a-backend-workflow/246498/2 "2023-02-12T03:18:51Z")

</div>

Use schedule api workflow?

---

<div class="post-metadata">

**Author:** ![artistdata22](https://avatars.discourse-cdn.com/v4/letter/a/848f3c/32.png) [@artistdata22](https://forum.bubble.io/u/artistdata22)\
**Post date:** [February 12, 2023, 3:20am UTC](https://forum.bubble.io/t/calling-a-backend-workflow/246498/3 "2023-02-12T03:20:47Z")

</div>

I have tried this brother, but I don’t see the backend workflow in this list.

None of the backend workflows i have set up pop up in this list:

![image](https://us1.discourse-cdn.com/bubble/original/3X/2/d/2d36ba88469091aae27829b8eabbc542dded37a1.png)

---

<div class="post-metadata">

**Author:** ![artistdata22](https://avatars.discourse-cdn.com/v4/letter/a/848f3c/32.png) [@artistdata22](https://forum.bubble.io/u/artistdata22)\
**Post date:** [February 12, 2023, 3:21am UTC](https://forum.bubble.io/t/calling-a-backend-workflow/246498/4 "2023-02-12T03:21:14Z")

</div>

All it says it edit backend workflows, doesnt list the workflows i have created

---

<div class="post-metadata">

**Author:** ![lantzgould](https://avatars.discourse-cdn.com/v4/letter/l/ecccb3/32.png) [@lantzgould](https://forum.bubble.io/u/lantzgould)\
**Post date:** [February 12, 2023, 3:35am UTC](https://forum.bubble.io/t/calling-a-backend-workflow/246498/5 "2023-02-12T03:35:53Z")

</div>

Can you screenshot your backend workflow?

---

<div class="post-metadata">

**Author:** ![artistdata22](https://avatars.discourse-cdn.com/v4/letter/a/848f3c/32.png) [@artistdata22](https://forum.bubble.io/u/artistdata22)\
**Post date:** [February 12, 2023, 3:41am UTC](https://forum.bubble.io/t/calling-a-backend-workflow/246498/6 "2023-02-12T03:41:53Z")

</div>

Here it is:

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/4/b/4b7189279a64acd1c8362fa53f0665639af51e2b.png)

I need image generation API call to get made when button click happens in the frontend workflow.

Then the image\_generation API Call triggers a callback to the image\_gathering API workflow. Then image\_gathering gets the data from that (which includes the list of the images) and these images should then be sent back to frontend workflow.

This is the sequence I am trying to do it in.
