MillsWebDev Posted July 20, 2023 Posted July 20, 2023 (edited) Hello, I am working on adding members to our forum after the purchase of a specific product in WooCommerce. The very basics are working - new WooCommerce customer/order -> Add new forum member using name + email from WooCommerce. However I was hoping to be able to populate custom profile fields too - like address etc. I do not have the option to insert values into the custom profile fields in Invision. Is that something I am doing wrong, or is the functionality not available? If not, is it in the pipeline or can the same be achieved with a custom API? All the options i have when setting the new member fields. Whereas I have 7 custom profile fields setup for all members: Edited July 20, 2023 by MillsWebDev
Solution Daniel F Posted July 20, 2023 Solution Posted July 20, 2023 Unfortunately our Zapier integration doesn’t support custom fields yet, but you could use the Zapier Webhook feature to send a POST request to your community’s REST API to update the created member. OptimusBain and MillsWebDev 2
MillsWebDev Posted July 21, 2023 Author Posted July 21, 2023 Thanks @Daniel F I will give it a go. Not the answer I was hoping for but a true and quick answer all the same.
700newtons Posted July 22, 2023 Posted July 22, 2023 Hello, I'm trying to figure this out too I'm new to Invasion with fairly limited IT background (but learning) I have got to the webhooks section of Zapier I have also figured out my way to the API section of the AdminCP and got a REST API key I'm trying to upload data to some existing members custom profile fields (for example, their first name into a field called pfield_5 ). Is there an example of the type of information that would go into the Zapier form above to achieve this? Everything I have tried so far comes up with an error, and I'm unsure where I'm going wrong. Many thanks if someone can help. Simon (first post!)
700newtons Posted July 22, 2023 Posted July 22, 2023 Ah - I figured it out... this URL in this format did the job:https://a12345.invisionservice.com/api/core/members/member-id?key=api key then in the data box customFields[number] (with the data in other box to the right) the other boxes didn't need anything in them. Simon 👍 MillsWebDev 1
Recommended Posts