Go to Workflow API for a detailed view of the different requests
The following steps will create a new workflow and then add a single Elasticsearch Publisher (In Progress) to the onPublish event.
Request
$action.getHelper().renderConfluenceMacro("$codeS$body$codeE")
Response $action.getHelper().renderConfluenceMacro("$codeS$body$codeE")