HELP: Connecting When Button is Click to API Plugin

How do you make a button that when you press it, it calls an API Plugin? If that is not possible, how would you make a button run HTML?

When I press a button I want the API plugin I created to POST so it refreshes the API I have. The Post works fine within the backend of the API Plugin Section when I “Modify Call Types” and it comes back with a success code from the backend of my server. So I need to figure out how to press a button and the post initiates “modify call types” is clicked.

When you configured your call in the API Connector, you set its “Use as” field to either Data or Action (you may not realize that this setting existed, as it defaults to Data!):

A call that’s configured as a “Data” call will show up as a data source anywhere that you can build an expression (under “Get data from external API…” then select the API call in question).


A call that’s configured as an “Action” call will show up in as a workflow action you can assign to a workflow step (find them under “Plugins…”).

If your call exists simply to execute some process, you probably want to configure it as an Action. (Especially if it does not return any data or if you don’t care what data it returns.)

However, it doesn’t really matter either way. If the call is a Data call, you trigger it by requesting its data. If the call is an Action call, you trigger it by a workflow action.

1 Like

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