bryananaya
Beginner
I am having two issues with webhooks and both have to do with Custom Fields.
1) I set up a webhook using AddContact and have it functioning but $vars does not include any custom fields when adding a contact. Even though a custom field was filled out in the Mumara UI it is not showing up in $vars. I also tested with Postman with response=1 and Postman returns the additional_fields_data but the webhook $vars does not. I thought I could just use the API getContacts but that returns an empty additional_fields_data set when run inside the AddContact webhook. My assumption is that AddContact is done before insertion of custom fields and the webhook is called after the contact has been created but before the custom fields have been inserted that is why I cannot grab any custom fields. Any suggestions how I get custom field data when a contact is added?
2) The EditContact webhook has a similar issue. The EditContact webhook never fires if a custom field is modified. Only if a field in the Contact Details area is modified will the EditContact webhook trigger. How would I go about getting a webhook to trigger when a custom field is updated?
Thanks!
1) I set up a webhook using AddContact and have it functioning but $vars does not include any custom fields when adding a contact. Even though a custom field was filled out in the Mumara UI it is not showing up in $vars. I also tested with Postman with response=1 and Postman returns the additional_fields_data but the webhook $vars does not. I thought I could just use the API getContacts but that returns an empty additional_fields_data set when run inside the AddContact webhook. My assumption is that AddContact is done before insertion of custom fields and the webhook is called after the contact has been created but before the custom fields have been inserted that is why I cannot grab any custom fields. Any suggestions how I get custom field data when a contact is added?
2) The EditContact webhook has a similar issue. The EditContact webhook never fires if a custom field is modified. Only if a field in the Contact Details area is modified will the EditContact webhook trigger. How would I go about getting a webhook to trigger when a custom field is updated?
Thanks!