Sendgrid channel integration
SendGrid Integration in MyStore allows sellers to connect their SendGrid email service with the store to send automated and reliable email notifications to customers. By integrating SendGrid, sellers can manage transactional emails such as order confirmations, shipment updates, OTP verification, password reset emails, and promotional campaigns directly from the MyStore admin panel. This article explains how to create, edit, and manage email notification templates using Sendgrid from the Channel Settings section using the built-in HTML editor.
Navigate to Email Channel Settings
- Login to the admin panel.
- Go to Channel Settings.
- Open the configured email channel (example: sendgrid).
Configure API Key
Under the API Key section:
- Enter the valid SendGrid API Key(Provided by Sendgrid).
- Ensure the API key has email sending permissions enabled.
Templates Section
The Templates section displays:
- Notification name
- Template preview option
- Action menu for template management
Example notification:
- order_notification_vendor
Creating a New Notification Template
Step 1: Add a Template
- Click on Add Templates.
- A new template row will appear.
Step 2: Select Notification Event
- In the Notification field, search for the required event.
- Select the notification from the dropdown list.
Examples:
- renew_subscription
- order_notification_vendor
- order_confirmation
Editing Template Content
Step 3: Open the Editor
- Go to the Template Content section.
- Click on the EDIT tab.
The HTML editor allows you to create and customize the email layout.
Adding HTML Content
You can directly add HTML code inside the editor.
Example:
<h2>Order Notification</h2>
<p>Your order has been successfully placed.</p>
You may also include:
- Tables
- Images
- Dynamic placeholders
- Inline styling
Previewing the Template
- Click the PREVIEW tab.
- Verify:
- Email layout
- Dynamic values
- Styling and formatting
- Mobile responsiveness
Saving the Template
After completing the template:
- Ensure the template is enabled.
- Click Update Channel to save the configuration.
