You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Umbraco.Cms.Integrations.Automation.Zapier/readme.md
+16-8Lines changed: 16 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,8 @@
1
1
# Umbraco.Cms.Integrations.Automation.Zapier
2
2
3
-
This integration provides a dashboard interface that allows users to map content types with Zap triggers webhooks.
3
+
This integration provides a dashboard interface that allows users to vizualize registered subscription hooks. When a Zap is turned on, the subscription hook is saved into the database; turning off the Zap will remove the registered subscription hook.
4
4
5
-
When the content type gets published, the details of the configuration are looked up into the database and if a record is found,
6
-
will send a request to the Zap, triggering the matching actions.
5
+
When content gets published, the content type is looked up in the subscription hooks list from the database, and if a record is found, A POST request will be sent to the webhook URL with details of the current node. This eventually will cause the Zap's trigger to be invoked, triggering the assigned actions of the Zap.
7
6
8
7
A Zap is an automated workflow that connects various apps and services together. Each Zap consists of a trigger and one or more actions.
9
8
@@ -26,9 +25,17 @@ The Umbraco app manages two types of events:
26
25
27
26
The trigger event to be used by this integration is _New Content Published_.
28
27
29
-
When creating the Zap trigger, you will be prompted to enter a username, password and the URL for your Umbraco website.
28
+
When creating the Zap trigger, you will be prompted to enter a username, password and the URL for your Umbraco website, or you can use instead an API key.
29
+
If the following setting is present, then the API key based authentication will take precendence and will be the main method of authorization.
Then the Umbraco application will validate the credentials entered and return a message in case the validation fails.
38
+
If no API key is present, then the Umbraco application will validate the credentials entered and return a message in case the validation fails.
32
39
33
40
If you want to extend the security layer, you can also specify a user group that the user trying to connect needs to be a part of, by adding the following
34
41
setting in `Web.config`:
@@ -46,9 +53,10 @@ In the _Content_ area of the backoffice, find the _Zapier Integrations_ dashboar
46
53
47
54
The dashboard is composed of two sections:
48
55
* Content Properties - Zapier details and input fields for adding content configurations
49
-
* Registered Webhooks - list of created content configurations
56
+
* Registered Subscription Hooks - list of registered entities.
50
57
51
-
Each content type can only have one webhook configuration attached. After a configuration has been added for a specific content type, the content type item gets removed from the input field,
52
-
and it can be restored by deleting the configuration from the database.
58
+
Subscription hooks are split in two categories:
59
+
* 1 = Content
60
+
* 2 = Form
53
61
54
62
The _Trigger Webhook_ action will send a test request to the Zap trigger, enabling the preview of requests in the Zap setup workflow.
0 commit comments