Skip to main content

Hi.  I’m trying to add a Webhook Custom Request step to my Zap that uses a Klaviyo PATCH API to update a phone number field in a Klaviyo profile.  The Klaviyo profile ID and phone number are dynamically pulling from previous steps in the Zap (I tested the PATCH step by entering static ID and phone and still got the same error).  However, I keep getting errors - either “Invalid Input” or “Malformed Request” (depending on the various entries I have tested in the “Data” field). 

I’m thinking that I haven’t entered the correct information in the “data” section, as I don’t know exactly which part of the code to enter.  Or, does a PATCH need to be connected to some other Webhook to work, as it is currently just this single step in my Zap flow (I’m a novice and don’t fully understand webhooks).

Thank you in advance for any insight.

Klaviyo “Update Profile” API documentation: https://developers.klaviyo.com/en/reference/update_profile

 

 

 

 

Alright.  I took another look this morning with fresh eyes.  I made a change to the “Data” section to include the  “{“data”:” text, and now it worked!  Hopefully that’s all that was needed.

 

 


Hi @Vive 

Good question.

Perhaps try one of these Klaviyo Zap actions: