Cloud Elements currently supports events via polling or webhooks depending on the endpoint.
n
minutes and captures the changed information.If you would like to see more information on our Events framework, please see the Event Management Guide.
The Zuora element supports webhooks. For Zuora events to work with Cloud Elements, you must configure each element instance and set up the endpoint.
To enable events, add these extra configurations to your instance JSON:
"event.notification.enabled": "true",
"event.notification.callback.url": "<INSERT_YOUR_APPS_CALLBACK_URL>"
instance JSON with polling events enabled:
{
"element": {
"key": "zuorav2"
},
"configuration": {
"zuorav2.sandbox": false,
"username": "zuora_user",
"password": "password",
"event.notification.enabled": true,
"event.notification.callback.url": "<INSERT_YOUR_APPS_CALLBACK_URL>"
},
"tags": [
"<Add_Your_Tag>"
],
"name": "<Insert_Instance_Name>"
}
Note: To instantiate a sandbox account, set zuorav2.sandbox
to false.
To set up the event in Zuora, you need the instance ID associated with your event.
To find the Instance ID via API, call GET elements/zuorav2/instances:
curl -X POST
-H 'Authorization: User <INSERT_USER_SECRET>, Organization <INSERT_ORGANIZATION_SECRET>'
-H 'Content-Type: application/json'
'https://staging.cloud-elements.com/elements/api-v2/elements/zuorav2/instances'
To find the Instance ID in the user interface, go to Elements > My Instances:
Zuora refers to webhooks as callout notifications. When setting up events, refer to the Zuora documentation: Configure Callout Notifications.
To set up the Zuora endpoint: