How to use executeAction and executeSingleCommand Fibery service workspace functions

Hi. Are there any code examples for using the following Fibery service workspace functions?

executeAction(action: string, type: string, args: [object])

executeSingleCommand(command: FiberyCommand)

Found here: https://the.fibery.io/@public/User_Guide/Guide/Scripts-in-Automations-54/anchor=Fibery-service-workspace-functions–86ec1778-15d4-42dc-a533-a57ec38bc855

Thanks!

These are not very well documented, but if you search this forum for “executeSingleCommand” you will find some examples.

Additionally you can ask specific questions here and we will try to help.

1 Like

There aren’t many occasions when you should need to use these. It’s probably easier to ask about how to achieve a specific goal, and then the answers might indicate if/how you should/can achieve it with scripting.