Hi everyone,
I work with Zapier support where we have a Klaviyo integration (https://zapier.com/apps/klaviyo/integrations). The Create or Update Profile Action of this integration uses the POST https://a.klaviyo.com/api/profiles endpoint. We’re working through a customer support ticket where we’re seeing a discrepant behaviour between the return response from the https://a.klaviyo.com/api/profiles endpoint and the Klaviyo user interface.
The POST request passes a value of “whatsapp” to the Contactmethod custom field. The screenshot of the POST request with sensitive information redacted is shown below.
(Click here to view larger)
The return response from the https://a.klaviyo.com/api/profiles endpoint shows that the value for Contactmethod went through.
(Click here to view larger)
But when the customer is looking at the same profile in their Klaviyo account, a value for the Contactmethod field isn’t showing up (screenshot shared with their permission).
(Click here to view larger)
I wanted to list some extra observations and things we checked.
- This behaviour where Contactmethod value is missing (despite the return response of https://a.klaviyo.com/api/profiles endpoint showing otherwise) is seen for a large fraction of the profiles created through their Zapier workflow but not all.
- The value of the Gender custom field, which is also passed in the POST request is consistently filled out, no problem.
- We checked to see if there maybe other workflows a PATCH request to https://a.klaviyo.com/api/profiles/{id} endpoint that maybe updating the Contactmethod value but we aren’t seeing any. There are no other Zapier workflows that run after the creation of the profile.
- The event log also show a webhook sent from Klaviyo to Trengo for an outgoing message, which do not have any impact on the Contactmethod value.
Our ask: Do you have any input about any other factors that could cause the Contactmethod custom field not populate on the user-interface (inconsistently). The Create or Update Profile Action also makes a second POST request to the POST https://a.klaviyo.com/api/profile-subscription-bulk-create-jobs/ endpoint, does that have any effect on a custom field like the Contactmethod? Screenshot of the POST request below with sensitive information redacted.
(Click here to view larger)
Thank you so much for your advice!