Slack Notifications with Marketo
The guide details how to integrate Marketo with Slack by first creating a Slack app with incoming webhooks to obtain a webhook URL, then setting up a corresponding webhook in Marketo's admin section using that URL and configuring the payload template to send customized notifications, including options for using Marketo tokens and trigger tokens for Tourial engagement data.
The Marketo Slack integration uses webhooks from Marketo that are then sent to Slack containing the message to be shared in a direct message or a channel. There are three main parts: creating an app in Slack, creating the Webhook in Marketo, and then building a workflow in Marketo.
Part 1 - Creating an App in Slack for Marketo
- 1.Navigate to the Apps section of the Slack API center.
- 2.Click “Create an App”.
- 3.Click “From scratch”.
- 4.Enter “Marketo” for the App Name.
- 5.Select your Slack workspace to integrate with Marketo.
- 6.Click “Create App”.
- 7.Click on “Incoming Webhooks” on the follow-up screen or under “Features” in the left-hand navigation tree.
- 8.Toggle on “Activate Incoming Webhooks”.
- 9.Click on “Add New Webhook to Workspace”.
- 10.Select the Slack channel or individual you would like to send notifications to.
- 11.Click “Allow”.
- 12.Copy the “Webhook URL” that appears for this channel/person. You will need this “Webhook URL” later on in Marketo when setting up the destination for the webhook.
Part 2 - Creating a Webhook in Marketo
- 1.Navigate to the Admin section in Marketo.
- 2.Click on “Webhooks” under the “Integration” section in the navigation tree on the left-hand side.
- 3.Click on “New Webhook” at the top of the screen.
- 4.Name your webhook using the “Webhook Name” field.
- 5.Enter an optional description if you desire.
- 6.Paste the “Webhook URL” that you copied from the Slack App in the previous section.
- 7.Leave the “Request Type” as “Post”.
- 8.What you put in the “Template” (Payload Template) field will depend on the message you are trying to send to Slack.
- You can select default Marketo Tokens using the Insert Token button.
- To send Tourial Engagement Data, you can use Trigger Tokens. See additional details on Trigger Tokens and templates you can copy below.
- 9.Leave the “Request Token Encoding” field as “None”.
- 10.Leave the “Response type” field as “None”.
Trigger Tokens for Tourial Engagement Data
Adding Trigger Tokens is simple, they just need to be included within the “Payload Template” when configuring the webhook.
- Trigger Name:
{{trigger.Trigger Name}} - Name:
{{trigger.Name}} - Tourial Name:
{{trigger.Tourial Name}} - Total time spent:
{{trigger.Tourial Total Seconds}} - Tourial URL:
{{trigger.Tourial URL}} - Total CTA clicks:
{{trigger.Tourial Total CTA Clicks}} - External links clicked:
{{trigger.Tourial Total External Links Clicked}} - Lead Link MKTO:
https://app-sj36.marketo.com/leadDatabase/loadLeadDetail?leadId={{Lead.Id}}
Note: Replace sj36 in the URL for Lead Link above with your Data Center ID. Find it in Marketo URL after opening a Person Record, or go to Admin > My Account > Scroll to Support Info > Data Center.
To use the message setup from the sample notification, copy and paste this Payload Template below. Then, update the text and/or tokens. Don't forget to update the Lead Link MKTO URL with your Data Center ID.
{
"text": "\n\nYour contact engaged with a Tour!\n\n\nEmail: {{lead.Email Address:default=none}}\n\nTrigger Name: {{trigger.Trigger Name}}\n\nTour Name: {{trigger.Name}}\n\nTime Spent (sec): {{trigger.Tourial Total Seconds}}\n\nLead Record: https://app-sj36.marketo.com/leadDatabase/loadLeadDetail?leadId={{Lead.Id}}"
}
Part 3 - Building Interesting Moments in Marketo
Once you've set up the Webhook, you can create Interesting Moments using a Smart List and Flow to tell Marketo to listen for a trigger and then send a Slack notification.
- 1.Select Marketing Activities and select the folder you want to build the workflow in. For example, you might build it under Interesting Moments.
- 2.Click on Smart List and then add the Views Tourial trigger from the righthand panel.
- 3.Use the dropdown menu to determine whether you want to pull all Tourials viewed (for example, using Tourial Name: is not empty), or include and exclude specific Tourials based on the name. Select Add Constraints to choose additional Tourial Engagement Data criteria.
- 4.With your Smart List triggers done, move over to Flow. This is where you add the actions you want to happen when a trigger occurs.
- 5.Select Add Webhook in the righthand panel and then click the Slack Webhook you just created.
Tip: Use Tourial Engagement Data to influence your lead scoring model. More engagement, longer sessions, multiple views... these all indicate higher buyer intent!
- 1.Under Schedule, be sure to edit the Qualification Rules if you want people to be able to enter this flow more than once.
Once you've set up one webhook, you can set up multiple for different Tourial Engagement parameters, or a separate one for when someone submits a form within your product tour.
Feel free to copy and paste this payload template too:
{
"text": "\n\nNew Tourial Form Submission!\n\n\nEmail: {{lead.Email Address:default=none}}\n\nTrigger Name: {{trigger.Trigger Name}}\n\nName: {{trigger.Name}}\n\nCompany: {{company.Company Name:default=none}}\n\nLead Record: https://app-sj36.marketo.com/leadDatabase/loadLeadDetail?leadId={{Lead.Id}}"
}
Related
Engagement Data with Marketo
After setting up the Marketo Integration, Tourial engagement data—including detailed metrics like time spent, clicks, CTA interactions, form submissions, and Tourial metadata such as name, URL, IDs, and UTM parameters—will appear as custom activities in lead or person activity logs, enabling users to create targeted Smart Lists and workflows based on specific Tourial engagement criteria within Marketo.
Lead Forms with Marketo
This guide explains how to create and customize a Tourial form integrated with an existing Marketo form by importing fields (including hidden UTM parameters), styling the form and confirmation modal, ensuring field matching to avoid data issues, and testing lead submission to confirm successful data transfer into Marketo, with additional tips on using Tourial engagement data for advanced Marketo features.
Approving Marketo Custom Activities | Navless Product Documentation
The documentation explains that Marketo admins must approve two Tourial-specific custom activities—Tourial Content View and Tourial View—within the Marketo Admin Custom Activities section before they can be used, and after approval, users must re-enable Engagement Activities in the Tourial app’s Marketo settings to resume sending engagement data.
Slack Notifications with HubSpot
The content provides a step-by-step guide on integrating Slack with HubSpot, including the necessary admin permissions and email matching, and details how to create a HubSpot Workflow that triggers Slack notifications based on specific Tourial View Timeline Event criteria, such as tour name and visitor engagement time, allowing customization of notification messages and target Slack channels.
Engagement Data with Pardot
After integrating Pardot with Tourial, engagement data from known contacts—such as Tourial name, completion rate, and form submissions—is tracked via cookies and displayed under external activities in Pardot contact records, enabling users to segment contacts, create lists, run engagement programs, and automate actions like sending emails or adjusting scores based on Tourial interactions.
Triggering HubSpot Workflows | Navless Product Documentation
The documentation explains how to connect HubSpot to Tourial and create a workflow trigger based on Tourial engagement data—such as Tourial name and time spent viewing—to automate actions like adding viewers to campaigns, tagging them, notifying teams, retargeting ads, or updating lead statuses within HubSpot workflows.