To create the initial message for the integration, you create an event action and a
subscription in the Administration Console for Content Platform Engine.
Before you begin
Before creating the Webhook event action and subscription, install the 5.5.4 Event-Driven
External Service Invocation Extensions add-on on the object store using the Webhook. For
instructions, see Installing an add-on feature to an object store.
Procedure
To create a Webhook event action and subscription:
- In the domain navigation pane, click the object store that you use for Automation
Document Processing.
- In the object store navigation pane, go to .
- From the Actions menu, click Create
Instance, and then enter values for the following options.
- Display Name - for example, ADP Webhook Event Action
- Descriptive Text - for example, ADP Webhook Event Action
- Event Receiver Credentials - Enter the credentials in complete HMAC JSON header format, for
example,
{"credentialType":"HMAC",
"credentialSecret":"eb497ac4891d6009d8ef601bfdf6c3f5"}. You might want to type out the
special characters if you are copying the credentials to avoid errors when the JSON is parsed.
- External event receiver endpoint URL - Enter the App Connect Enterprise project, for example,
http://app_connect_server:7800/AutomatedDocumentProcessingSample/v1/finalization
- Receiver Registration Identifier - Enter FinalizeWebhook.
- Click Next, then click
Finish.
You can see the created Event Action by going to
.
- Create a subscription to the Webhook event action:
- Select the object store, then navigate to the target class, for example, Invoice:
.
This
target document class was created by the deployment of your document processing
project.
- From the Actions menu of the
Subscription tab, select New
Subscription…
- Enter value for Display Name and click
Next.
- Click Next.
- Select Document Processing Finalization Event and click
Next.
- Select the ADP WebHook Event Action created earlier, and click
Next.
- Click Next, then click
Finish.
You can view the created Event Action and Subscription by
navigating to .