WooCommerece Trigger to HTTP Request [POST]

I want to send WooCommerce customer details to my Email Service Provider via API (HTTP Request Node)

I’m using the WooCommerce Trigger node to get the order details.

But I want to send FirstName, LastName, and Email address via API.

The problem with my ESP is they keep Email as Primary value and First Name and Last Name to Custom Fields.

Here is the sample code.

"email":"[email protected]",
"customFields":{
    "firstname":"Max"
}

Ref: https://developers.automizy.com/automizyrestapi/#Creatinganewcontactonalist

@RicardoE105 I have tried the below code. But it’s sending whatever the data mentioned as Mock data.

Hey @mcnaveen!
I have created a sample workflow that might help you. One thing to note here is that I have set the JSON/RAW Parameter to true, which allows us write JSON in the Body Paramater.
You will have to replace the Set node with your Woocommerce node, and get the values from there.

Hope this helps! :slightly_smiling_face:

2 Likes

Thanks @harshil1712 This is what I’m exactly looking for.

1 Like

Awesome! I am glad I could help. Have fun! :slightly_smiling_face:

1 Like