Hotmart to Wix connection to update contacts
Status: Open · Asked by lemonlatam on · 0 views
Hi, Ive following tutorial to connect Hotmart to wix
Im inteding to Add/Update contacts in wix, when they've bought some product on hotmart
I`ve created two workflows: 1 for add contact with custom fiedls (when contact do not exist) and Update contact for the contact aleady exist
Its working well for creating new contacts
But, updating contact shows an error "Expecting an object"
So, here's how I've done this:
1. Hotmart connection (Ok)
Action : Do this …
2. Wix : Get Contact by Email (OK)
3. Wix : Update Contact (with Custom Fields) (Not OK)




Please Let me know How to correct this
Thank you!
Hi @lemonlatam,
Please try passing some data into these custom fields as well and see if that fixes the issue you are encountering.
Hi, thanks for fast response, but sadly, didn't work
Any other approach to try?
Thank you

Please pass data in these fields as well, as they seem to be required according to Wix's API documentation.
https://dev.wix.com/docs/rest/crm/members-contacts/contacts/contacts/contact-v4/update-contact
Thank you so much
It seems to work, but I ran a test and nothing happens
This is the Response received

Do I need to correct something here?
Thank you
Do I need to correct something here?
It appears that the contact already exists. I would recommend using a new or non-existing contact to add, then check again.
Well, what Im trying to do here is to update the contact, so its Ok if the contact exists right?
As I have mentioned before, I have two workflows, one to create the contact (if doesn't exist in Wix)
And the other one for update the contact when already exist
Now I have a new interesting update
In my task history seems it's working now =)
So, despite the previous messages, its now working and running, only had a problem with phone field, that I corrected and Now
Tcha tchaaaan
Working perfectly
Thank you so much
Thank you for sharing the update. We are glad the issue is fixed now.