Happy Business Starts Here

Highlighted
Honor Student

Create API callout notification for changes to Account and Contacts

I am trying to sync my Zuora susyem with my MDM system, so I want to configure API callout in Zuora on event of any creation/ update of Accounts and Contacts. I did not find the callout available in Billing for Accounts or Contacts, could you advice if this is possible ?

Tags (1)
1 REPLY 1
Zuora Product Team

Re: Create API callout notification for changes to Account and Contacts

You can use our Events and Notifications to monitor Accounts and Contacts.  The Events page lists all of the objects available.

 

The knowledge center contains plenty of examples but another would be an Event that listens for an email change on a Contact:

{
"active": true,
"baseObject": "Contact",
"condition": "changeType == 'UPDATE' && Contact.WorkEmail != Contact.WorkEmail_old",
"description": "Trigger an event when the work email changes",
"eventType": {
"description": "Contact Work Email Address Change",
"displayName": "Contact Work Email Address Change",
"name": "ContactWorkEmailAddressChange"
}
}

 

And a corresponding Trigger that fires upon that event:

{
  "active": true,
  "callout": {
    "active": true,
    "calloutAuth": {
      "domain": "example_domain",
      "password": "example_password",
      "username": "example_user"
    },
    "calloutBaseurl": "https://gohere.net/",
    "calloutParams": {
      "ContactWorkEmail": "<Contact.WorkEmail>",
      "AccountId": "<Contact.AccountId>",
      "ContactId": "<Contact.Id>"
    },
    "calloutRetry": true,
    "description": "Notification sent when the work email address of a Contact changes",
    "eventTypeName": "ContactWorkEmailAddressChange",
    "httpMethod": "POST",
    "name": "Contact Work Email Change",
    "requiredAuth": true
  },
  "calloutActive": true,
  "description": "Notification sent out when the work email of a Contact changes",
  "emailActive": false,
  "eventTypeName": "ContactWorkEmailAddressChange",
  "name": "Contact Edit Work Email"
}

 

As opposed to grabbing objects with a trigger as they change, you could also use something like Workflow and/or AQuA to periodically poll the system for changes and pass those updated en masse.