Editing values from a custom JavaScript Embed

I’ve searched the docs provided by @dorilama - thanks a lot man :slight_smile: But I haven’t found any reference to how I can change variables from custom scripts, eg.

I have an embed with Google Maps API and I’d like to set variables when interacting with the map, I have the methods to do it, but I don’t know what variables to set, or better, how to target my custom variables from outside.

Is there anything you can refer me to? :slight_smile:

You can trigger global workflows using javascript. The workflows can accept parapeters, so you can pass data to it. In the workflow use any nocode action you need, like “change variable”

To use a workflow from code:

2 Likes