Post Slack Notifications for New Marketo Leads

Use this recipe to post notification messages in Slack for new Marketo leads.

Note:

This recipe is available as Marketo — Slack | Post Notifications for New Leads in the Integration Store. Oracle provides this recipe as a sample only. The recipe is meant only for guidance, and is not warranted to be error-free. No support is provided for this recipe.

Overview

This recipe posts notification message to a specified Slack channel with details about new leads that are created in Marketo. It uses the standard Marketo Adapter and the Slack Adapter.

To use the recipe, you must install the recipe package and configure the connections and other resources within the recipe package. Subsequently, you can activate and run the integration flow manually or specify an execution schedule for it. When triggered, the integration flow queries for list of leads in Marketo. For the first time, it fetches all leads present in the Marketo instance, creates a message with the lead details (name and company), and posts the message to the specified Slack channel. For subsequent executions, it filters out the old leads and fetches only the new leads created since the last execution of the integration flow, and then posts notification messages to the specified Slack channel with details about the new leads.

System and Access Requirements

  • Oracle Integration Version 21.2.1 or higher
  • Marketo
  • Slack
  • An account in Marketo with the Administrator role
  • An account in Slack with the Administrator role

Recipe Schema

This section provides an architectural overview of the recipe.

When the integration flow of the recipe is triggered by an execution schedule or manual submission, it queries the Marketo instance for a list of leads. It filters out the old leads, that is, the leads that were already retrieved in the last integration flow; retrieves the new leads from the list, and then creates a message with details about the new leads. This message with details about the new leads is then sent to Slack and posted to the specified Slack channel.

Description of marketo-slack.png follows
Description of the illustration marketo-slack.png