Sync Marketo email template and send via Rest
UtilitiesDeveloperAPIMarketing
What it does
When a scheduled time arrives, this automation retrieves an email template from Marketo using a generic Rest request. It refreshes the API token before each call to keep the connection active, then sends the email through Marketo.
Who it's for
Marketing operations teams who need to send Marketo emails when the native integration lacks a required endpoint.
Apps used
How teams use this
Send emails when endpoints are new
Marketo releases a fresh endpoint that the native integration does not yet support. Use Rest to call that endpoint directly and send the email without waiting for an integration update.
Automate sends on a fixed schedule
Run this automation every day or week so Marketo emails go out at the same time without someone triggering them manually. The schedule keeps sends consistent.
Add custom headers or parameters
Extend the Rest requests to include custom headers, query parameters, or request body fields that the native integration does not expose. Only the Rest step needs to change.
How it works
- Run on a schedule. This automation starts at a specified interval so Marketo emails are sent on a regular cadence without manual intervention.
- Refresh the Marketo API token. Call the Marketo token endpoint via Rest to get a fresh token. Marketo tokens expire every 60 minutes, so this step keeps the connection valid for the next Rest calls.
- Retrieve the email template. Use the Rest request to fetch the email template from Marketo. This step works around the gap when Marketo publishes a new endpoint before the native integration supports it.
- Send the email through Marketo. Execute the Rest call to send the email template via Marketo. The refreshed token in the header authenticates the request so the send succeeds.
- Trigger the campaign. Activate the Marketo campaign or smart campaign so the email reaches the intended audience on schedule.