Best answer

Woocommerce > Email XML in particular format

  • 6 October 2020
  • 1 reply
  • 130 views

Userlevel 1

We need to email an XML doc everytime a Woocommerce order is placed. The XML doc has be formatted in a particular way.

 

What is the best/easiest workflow for this?

icon

Best answer by CraigNet3 7 October 2020, 16:40

View original

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Userlevel 4
Badge +4

@Squircle the workflow would be:

Step 1: Woocommerce Order paid

Step 2: Google Drive create File from text

Step 3: Send email (with email app)

The email app you select will depend on if you want to send it from your own email account (Gmail, Office365, SMTP, etc). If you don’t need the email to be sent from a specific email account, you could use the Email by Zapier app.

Within the Google Drive step you can add your formatted XML with values that won’t change regardless of the order, and insert the variables from the trigger step which will change depending on the Woocommerce order.