How it works

Follow these 4 simple steps to start planting trees automatically for qualifying orders

Shopify logo icon

Order Created

App connector: Shopify • Time to complete: 0 minutes (Auto-configured)
Why this matters: This monitors your Shopify store and captures every new order as it comes in, providing all the order data needed to determine if tree planting should occur.

This step automatically watches for new orders in your Shopify store and captures complete order information including total price, customer email, and order ID. No configuration is needed - MESA connects to your Shopify store and starts monitoring immediately once the workflow is activated. When a new order arrives, all the order data gets passed to the filter step to check if it qualifies for tree planting.

Filter: Determine if the order is over $10

App connector: Filter • Time to complete: 1 minute
Why this matters: This prevents tree planting for small orders by only allowing orders over $10 to proceed, helping you control costs while maintaining your environmental impact goals.

This step evaluates each order's total price against your $10 minimum threshold using the greater than comparison operator. Orders under $10 are automatically stopped from proceeding further, while qualifying orders continue to the tree planting step. You can adjust the dollar amount by changing the comparison value from "10" to any amount that fits your business model. The filter uses the total order price including taxes and shipping to make this determination.

Plant Trees

App connector: Digital Humani • Time to complete: 2 minutes
Why this matters: This sends the actual tree planting request to Digital Humani with the customer's email address, creating the environmental impact you promised and generating a tracking ID for your records.

This step connects to Digital Humani's API to plant one tree per qualifying order using your enterprise and project IDs. You'll need to enter your Digital Humani enterprise ID and project ID in the designated fields - these are provided when you set up your Digital Humani account. The customer's email from the order gets sent as the user identifier, and the tree count is set to 1 per order. Digital Humani responds with a unique tracking UUID that proves the tree planting request was submitted successfully.

Shopify logo icon

Update Order Notes

App connector: Shopify • Time to complete: 0 minutes (Auto-configured)
Why this matters: This creates a permanent record in your Shopify admin showing exactly when the tree planting request was made and provides the tracking ID for future reference or customer service inquiries.

This step automatically adds a timestamped note to the original Shopify order documenting the tree planting activity. The note includes the current date, confirms that a Digital Humani tree planting request was submitted, shows the total number of trees (1), and records the unique request ID returned from Digital Humani. This note appears in your Shopify admin under the order details and gets appended to any existing order notes without overwriting them.

Make it your own

Customize this workflow even further:

Set minimum order thresholds
Adjust the filter amount to match your profit margins, such as planting trees only for orders over $25 or $50 to maintain sustainable giving.
Add customer notifications
Connect email tools to automatically send customers a confirmation message about their tree planting with their unique tracking number and impact details.
Scale tree quantities by order value
Use transformation steps to plant multiple trees based on order size, such as 1 tree for orders $10-50, 2 trees for $51-100, and so on.
Track environmental impact metrics
Store tree planting data in tables to build dashboards showing total trees planted, carbon offset estimates, and monthly environmental impact reports.

Frequently asked questions

Do I need a Digital Humani account before setting up this workflow?
Yes, you'll need to sign up with Digital Humani first to get your enterprise ID and project ID. These credentials are required in Step 3 to connect the tree planting API, and you'll need an active account with available tree credits for the requests to succeed.
What happens if Digital Humani is temporarily unavailable when an order comes in?
The workflow will retry the tree planting request automatically, and if it continues to fail, MESA will log the error without stopping your order processing. You can manually retry failed tree plantings later from your MESA activity log once the service is back online.
Can I plant trees for orders from specific products only instead of all orders over $10?
Yes, you can modify the filter step to check for specific product IDs, collections, or product tags in addition to the price requirement. This lets you tie tree planting to eco-friendly products or special campaigns while excluding other items from your store.
What is a template?
Templates are pre-made workflows by our team of experts. Instead of building a workflow from scratch, these have all the steps needed to complete the task.
Can I personalize a template?
Yes! Every step can be customized to meet your exact requirements. Additionally, you can even add more steps and make it more sophisticated.
Are templates free?
Yes! Our entire library containing hundreds of templates are free to use and customize to your exact needs.

Ready to start planting trees automatically for qualifying orders?

Join thousands who've automated their work and saved an average of 3.5 hours every week.

Start with this template — It's free
7-day free trial • 5 min setup • Cancel anytime