Is there a way to trigger an email for the order in certain language?
I have only found orderInvoiceSend, but it feels like it is not what I am looking for.
I have also tried to do this, but it seems that Admin API is buggy.
This is Amelia from PageFly - a Landing Page Builder App
You can trigger an email for an order in a specific language using Shopify’s capabilities,
You can try a few approaches you can consider:
1. Shopify Flow
Shopify Flow allows you to create automated workflows based on specific conditions. You can set up a flow to send emails based on the customer’s language preference. Here’s a basic outline:
-
Create a new flow: Go to Shopify Flow and click “Create flow”.
-
Add a trigger: Choose “Order created” as the trigger.
-
Add a condition: Add a condition to check the customer’s language preference.
-
Set up actions: Add actions to send different email templates based on the language condition.
2. Custom App with Admin API
If you need more control, you can create a custom app that uses the Shopify Admin API to send emails in different languages. Here’s a basic approach:
-
Fetch Order Details: Use the Admin API to fetch order details, including the customer’s language preference.
-
Send Email: Use a third-party email service (like SendGrid or Mailchimp) to send the email in the appropriate language.
3. Third-Party Apps
There are third-party apps available on the Shopify App Store that can help you manage multilingual email notifications. Some popular options include:
-
Klaviyo: Allows you to create segmented email campaigns based on customer data, including language preferences.
-
Langify: Helps you manage multilingual content on your store, including email notifications.
4. Manual Customization
If you prefer a more manual approach, you can customize your email templates to include language-specific content. This involves:
-
Creating Multiple Templates: Create different email templates for each language.
-
Conditional Logic: Use conditional logic in your templates to display the appropriate content based on the customer’s language.
I hope that my solution works for you.
Best regards,
Amelia | PageFly