Re-useable action?

Is there a way to create a re-useable action instead of an element? That is, to have an action that can be called from many different pages just like an element can be called in many different pages. That way the re-useable action can be edited in one location. Does that make sense?

Dana :slight_smile:

Hi Dana! Of course, you can do that. You can create a reusable element (which is empty) and you can have all workflows inside it.
Alternatively, if it’s a single-page application, you can do this using custom events

1 Like

How do you call a re-useable element from an action? Yes, I want to use it as a custom event on many pages.
Thanks Z.
:slight_smile:

If you already have a reusable header that is on every page, just put all the actions you want into separate custom triggers. Then from any page element you can run an action to trigger an custom trigger from a reusable element.

2 Likes

You can also make an API call with the API connector to your backend workflows. Or, just schedule a backend workflow

Ah, I get it now. Thanks much!

In the past when I have used actions in a re-useable header (e.g. toggle an element) I found that the delay in the action is quite substantial compared with using the exact same function on the page itself. Is that common?

Thanks again Boston.

Not in my experience. They execute at the same speed, as far as my eyes can tell

2 Likes

This topic was automatically closed after 70 days. New replies are no longer allowed.