Skip to main content
Best answer

Woocommerce > Email XML in particular format

  • October 6, 2020
  • 1 reply
  • 158 views

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?

Best answer by CraigNet3

@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.

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

CraigNet3
Forum|alt.badge.img+4
  • Zapier Solution Partner
  • Answer
  • October 7, 2020

@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.