From b8f73c873b3ac849e7a7344bf216b721a8dd127f Mon Sep 17 00:00:00 2001 From: Ahmad Kholid Date: Fri, 12 Jan 2024 17:05:17 +0800 Subject: [PATCH] feat: update trigger block --- docs/blocks/trigger.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/blocks/trigger.md b/docs/blocks/trigger.md index 5f8ce3f..dbf2934 100644 --- a/docs/blocks/trigger.md +++ b/docs/blocks/trigger.md @@ -90,5 +90,10 @@ window.dispatchEvent(new CustomEvent('automa:execute-workflow', { If the `automa:exeucte-workflow` event not working, you can replace it with `__automaExecuteWorkflow` ::: +## Trigger Through URL +From version v1.28.26 you will be able to execute Automa workflow through an URL, to do this you only need to create a new tab in your browser and input this URL `chrome-chrome-extension://infppggnoaenmfagbfknfkancpbljcca/execute.html#/workfloId`, replace the `workflowId` with the id of the workflow you want to execute. + +You can also pass variables to the workflow by adding a query to that URL. For example, `chrome-chrome-extension://infppggnoaenmfagbfknfkancpbljcca/execute.html#/workfloId?variableA=value&variableB=10` + ## Parameters Refer to: [Workflow Parameters](../workflow/parameters.md) \ No newline at end of file