Skip to content

Commit

Permalink
feat: update trigger block
Browse files Browse the repository at this point in the history
  • Loading branch information
Kholid060 committed Jan 12, 2024
1 parent b5754c4 commit b8f73c8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/blocks/trigger.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit b8f73c8

Please sign in to comment.