# Call server side action from a client action

**URL:** <https://forum.bubble.io/t/call-server-side-action-from-a-client-action/345760>\
**Category:** Plugin builders\
**Created:** [October 26, 2024, 7:39am UTC](https://forum.bubble.io/t/call-server-side-action-from-a-client-action/345760 "2024-10-26T07:39:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![alon2](https://avatars.discourse-cdn.com/v4/letter/a/b5e925/32.png) [@alon2](https://forum.bubble.io/u/alon2)\
**Post date:** [October 26, 2024, 7:39am UTC](https://forum.bubble.io/t/call-server-side-action-from-a-client-action/345760/1 "2024-10-26T07:39:54Z")

</div>

Is it possible to trigger a server side action in my plugin from a client side action in my plugin?

I need to create a digest on the backend and use it on the front end.

The flow is:

User calls the client action  
The client action calls a server side action to get a digest  
The client side uses the digest to trigger some client side code.

---

<div class="post-metadata">

**Author:** ![tylerboodman](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/tylerboodman/32/242142_2.png) [@tylerboodman](https://forum.bubble.io/u/tylerboodman)\
**Post date:** [October 26, 2024, 7:55am UTC](https://forum.bubble.io/t/call-server-side-action-from-a-client-action/345760/2 "2024-10-26T07:55:28Z")

</div>

You could do fetch/axios to call a backend workflow and have it return data 😊

---

<div class="post-metadata">

**Author:** ![sudsy](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/sudsy/32/114637_2.png) [@sudsy](https://forum.bubble.io/u/sudsy)\
**Post date:** [October 26, 2024, 5:23pm UTC](https://forum.bubble.io/t/call-server-side-action-from-a-client-action/345760/3 "2024-10-26T17:23:41Z")

</div>

> [@alon2](#):
>
> I need to create a digest on the backend and use it on the front end.

Is it important that the digest not be exposed via the editor to the Bubble developer - i.e. the user of your plugin?

---

<div class="post-metadata">

**Author:** ![alon2](https://avatars.discourse-cdn.com/v4/letter/a/b5e925/32.png) [@alon2](https://forum.bubble.io/u/alon2)\
**Post date:** [October 26, 2024, 5:30pm UTC](https://forum.bubble.io/t/call-server-side-action-from-a-client-action/345760/5 "2024-10-26T17:30:30Z")

</div>

How do you do that? Any examples / documentation?

---

<div class="post-metadata">

**Author:** ![alon2](https://avatars.discourse-cdn.com/v4/letter/a/b5e925/32.png) [@alon2](https://forum.bubble.io/u/alon2)\
**Post date:** [October 26, 2024, 5:32pm UTC](https://forum.bubble.io/t/call-server-side-action-from-a-client-action/345760/6 "2024-10-26T17:32:12Z")

</div>

Yes, it creates a key to call another backend …
