# Remote triggering custom JavaScript workflow

**URL:** <https://community.weweb.io/t/remote-triggering-custom-javascript-workflow/6331>\
**Category:** How do I?\
**Tags:** supabase\
**Created:** [January 11, 2024, 11:47pm UTC](https://community.weweb.io/t/remote-triggering-custom-javascript-workflow/6331 "2024-01-11T23:47:28Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![gduteaud](https://avatars.discourse-cdn.com/v4/letter/g/f19dbf/32.png) [@gduteaud](https://community.weweb.io/u/gduteaud)\
**Post date:** [January 12, 2024, 3:36pm UTC](https://community.weweb.io/t/remote-triggering-custom-javascript-workflow/6331/2 "2024-01-12T15:36:52Z")

</div>

The two closest related threads I could find are:

> [@Trigger a workflow via JavaScript](https://community.weweb.io/t/trigger-a-workflow-via-javascript/929):
>
> Questing for the WeWeb team: is it possible to trigger a workflow via custom JavaScript in WeWeb? I have 3rd party forms (Paperform) embedded in WeWeb via custom JS on an HTML element ([screenshot here](https://capture.dropbox.com/fxDxPJnYjalms9cu) — it was a nice workaround inspired by [this comment](https://community.weweb.io/t/create-custom-audio-player-bind-with-collections/281/5)). Paperform’s JavaScript API has [submission events](https://paperform.co/help/articles/embedded-form-submissions/) that would be create a nice trigger to a WeWeb workflow (such as a page redirect), but I haven’t found any resources to doing this. So, I’m wondering—is it possible to call a function/workflow …

and

> [@Is there a way to trigger a workflow when a variable changes?](https://community.weweb.io/t/is-there-a-way-to-trigger-a-workflow-when-a-variable-changes/3662):
>
> I am setting a variable using Javascript and would like it to trigger a workflow? Triggering a workflow from Javascript could also work in my case.

but I can’t figure out a solution to my particular problem based on either.

Basically, the question is this: how do I trigger a WeWeb workflow from an event in my Supabase backend?

---

_[View the full topic](https://community.weweb.io/t/remote-triggering-custom-javascript-workflow/6331)._
