> ## Documentation Index
> Fetch the complete documentation index at: https://help.nextmatter.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Integrate with Mailchimp

> Send Mailchimp transactional emails directly from your workflow.

You can use our Step templates to guide you through the integrations. You can find step templates in **Workflows > + Add step > Integrations > Templates > 3rd party templates > Mailchimp**.

1. In Mailchimp, generate your API key. You can find the details [here](https://mailchimp.com/developer/transactional/guides/quick-start/#generate-your-api-key).

2. You'll be sending the email using a message template. Review the [Mailchimp documentation](https://mailchimp.com/developer/transactional/api/messages/send-using-message-template/) to learn about the related API parameters.

3. In Next Matter select the workflow that should trigger a Mailchimp message, and add a new integration step.

4. Click **Settings** and enter the following details:

   * **Method**: POST
   * **URL**: `https://mandrillapp.com/api/1.0/messages/send-template`
   * **Headers**: Content-Type: application/json
   * **Body** might look like the following:
     <CodeGroup>
       ```json theme={null}
       {
       	"key": "PLACEHOLDER_FOR_MAILCHIMP_API_KEY",
       	"template_name": "PLACEHOLDER_FOR_TEMPLATE_NAME",
       	"template_content": [
       	{
               	"name": "PLACEHOLDER_FOR_MC_EDIT_REGION",
       		"content": "PLACEHOLDER_FOR_CONTENT_TO_INJECT"
       	}],
       	"message": {
       		"html": "PLACEHOLDER_FOR_MESSAGE_IN_HTML", //optional full HTML content to be sent if not in template
       		"text": "PLACEHOLDER_FOR_MESSAGE_TEXT", //optional full text content to be sent
       		"subject": "PLACEHOLDER_FOR_SUBJECT",
       		"from_email": "PLACEHOLDER_FOR_SENDER_EMAIL",
       		"from_name": "PLACEHOLDER_FOR_SENDER_NAME",//this is optional
       		"to": [ {
               		"email": "PLACEHOLDER_FOR_RECIPIENT_EMAIL",
       			"name":"PLACEHOLDER_FOR_RECIPIENT_NAME",//optional
       			"type": "to"//you can enter bcc or cc here
       		}]	
                   } 	
       }
       ```
     </CodeGroup>

5. Save your changes.

<Tip>
  To learn more about Mailchimp email format (plain text and HTML), see [Mailchimp documentation](https://mailchimp.com/resources/html-email-format/).
</Tip>
