Automations
Fundamento provides ability to automate repetitive tasks, helping you to save time and increase productivity. Currently only Webhook automation is supported.
Automations page
Automations are tied to the specific Space. All automation related actions are performed
from the Automations page accessible from the •••
menu in the top-right corner of the
document view.
Location of Automations Page
Creating Automation
Requires Manager role to succeed.
To create Automation navigate to Automations page and click Create
button:
Creating Automation, step 1
Creating Automation, step 2
Webhook Automation
Webhook type automations allows you to trigger some action in Fundamento from the
outside. For example, you could set up simple alert monitoring in Fundamento by pushing
alert messages to its webhook endpoint. To reveal webhook endpoint you need to navitage
to Automations page and click Show
next to the relevant automation. Every Automation
has a unique ID which is visible in the webhook URL:
We’ll use curl command to illustrate invoking the webhook:
curl -X POST http://localhost:3000/api/v1/automations/sLPyutp3qv/invocations\
-H "Authorization: Bearer 1df7aa8314ee8d651847e1ba1d33859fbc61f4239e909ae85545e49dca0cbc47"\
-d 'Info'
- URL will have always have a format of
${fundamento_base_url}/api/v1/automations/${automationId}/invocations
. - For authentication, you must provide valid API Token in the
Authorization: Bearer
header. - Request payload will be available in the executed formula under additional context variable named
[WebhookBody]
Deleting Automation
Requires Manager role to succeed.
On the Automations page select the Automation you want to delete and click ⌄
right of the
Edit button to expose Delete
action: