← Outgrow + Bot for Slack integrations

Find User by Email with Bot for Slack API on New Lead from Outgrow API

Pipedream makes it easy to connect APIs for Bot for Slack, Outgrow and 2,800+ other apps remarkably fast.

Trigger workflow on
New Lead from the Outgrow API
Next, do this
Find User by Email with the Bot for Slack API
No credit card required
Intro to Pipedream
Watch us build a workflow
Watch us build a workflow
8 min
Watch now ➜

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo

Developers Pipedream

Getting Started

This integration creates a workflow with a Outgrow trigger and Bot for Slack action. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Select this integration
  2. Configure the New Lead trigger
    1. Connect your Outgrow account
    2. Configure Timer
    3. Select a Content ID
  3. Configure the Find User by Email action
    1. Connect your Bot for Slack account
    2. Configure Email
  4. Deploy the workflow
  5. Send a test event to validate your setup
  6. Turn on the trigger

Details

This integration uses pre-built, source-available components from Pipedream's GitHub repo. These components are developed by Pipedream and the community, and verified and maintained by Pipedream.

To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.

Trigger

Description:Emit new event when a new lead is created.
Version:0.0.2
Key:outgrow-new-lead

Outgrow Overview

The Outgrow API offers a toolkit to integrate interactive content like quizzes, polls, and calculators with your apps and workflows. Using Pipedream, you can automate actions based on events in Outgrow, such as new lead captures or quiz completions. This enables seamless data flows between Outgrow and CRM platforms, marketing tools, databases, and more. With Pipedream's serverless platform, you can trigger workflows with Outgrow events, manipulate the data, and connect to thousands of other apps without writing complex code.

Trigger Code

import constants from "../../common/constants.mjs";
import common from "../common/timer-based.mjs";

const { props: { outgrow } } = common;

export default {
  ...common,
  key: "outgrow-new-lead",
  name: "New Lead",
  description: "Emit new event when a new lead is created.",
  type: "source",
  version: "0.0.2",
  dedupe: "unique",
  props: {
    ...common.props,
    contentId: {
      propDefinition: [
        outgrow,
        "contentId",
      ],
    },
  },
  hooks: {
    async activate() {
      const leads = await this.outgrow.getLeads({
        contentId: this.contentId,
      });

      this.processEvents(leads);
    },
    async deactivate() {
      this.setLastCreatedAt(null);
    },
  },
  methods: {
    setLastCreatedAt(createdAt) {
      this.db.set(constants.LAST_CREATED_AT, createdAt);
    },
    getLastCreatedAt() {
      return this.db.get(constants.LAST_CREATED_AT);
    },
    isResourceRelevant(resource) {
      const lastCreatedAt = this.getLastCreatedAt();
      if (!lastCreatedAt) {
        return true;
      }
      const { created_at: createdAt } = resource;
      return Date.parse(createdAt) > Date.parse(lastCreatedAt);
    },
    processEvents(resources) {
      const filteredResources = resources.filter(this.isResourceRelevant);

      filteredResources.forEach((resource) => {
        this.$emit(resource, {
          id: resource.id,
          ts: Date.parse(resource.created_at),
          summary: `New Lead ${resource.id}`,
        });
      });

      const [
        { created_at: createdAt } = {},
      ] = filteredResources;

      if (createdAt) {
        this.setLastCreatedAt(createdAt);
      }
    },
  },
  async run({ $ }) {
    const leads = await this.outgrow.getLeads({
      $,
      contentId: this.contentId,
    });
    this.processEvents(leads);
  },
};

Trigger Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
LabelPropTypeDescription
OutgrowoutgrowappThis component uses the Outgrow app.
N/Adb$.service.dbThis component uses $.service.db to maintain state between executions.
Timertimer$.interface.timer

The timer that will trigger the event source

Content IDcontentIdstringSelect a value from the drop down menu.

Trigger Authentication

Outgrow uses API keys for authentication. When you connect your Outgrow account, Pipedream securely stores the keys so you can easily authenticate to Outgrow APIs in both code and no-code steps.

You can create an API Key in Account Settings by clicking on your name (alias) on the top right hand side of the Outgrow Dashboard interface. Then, select Billing & Settings from the drop-down menu and look for the API Key option on the left sidebar.

For subdomain, if your URL is https://xyz.outgrow.co then your subdomain is xyz.

About Outgrow

Interactive Content Platform

Action

Description:Find a user by matching against their email (Bot). [See the documentation](https://api.slack.com/methods/users.lookupByEmail)
Version:0.0.5
Key:slack_bot-find-user-by-email

Bot for Slack Overview

The bot for Slack allows you to build rich, interactive bots for Slack workspaces. These bots can respond to messages, post updates, and interact with users in various ways. With the bot for Slack on Pipedream, developers can create automated workflows that trigger on specific events in Slack, such as new messages or reactions, and then perform defined actions, like sending data to other apps or processing the information within Pipedream's serverless platform. This tight integration with Pipedream enables both simple and complex automations, leveraging Pipedream's ability to connect with numerous apps and its powerful built-in code steps.

Action Code

import component from "@pipedream/slack/actions/find-user-by-email/find-user-by-email.mjs";
import utils from "../../common/utils.mjs";

/* eslint-disable pipedream/required-properties-type */
/* eslint-disable pipedream/required-properties-name */

export default {
  ...component,
  props: utils.buildAppProps({
    component,
  }),
  key: "slack_bot-find-user-by-email",
  description: "Find a user by matching against their email (Bot). [See the documentation](https://api.slack.com/methods/users.lookupByEmail)",
  version: "0.0.5",
};

Action Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI.

LabelPropTypeDescription
Bot for SlackslackappThis component uses the Bot for Slack app.
Emailemailstring

An email address belonging to a user in the workspace

Action Authentication

Bot for Slack uses API keys for authentication. When you connect your Bot for Slack account, Pipedream securely stores the keys so you can easily authenticate to Bot for Slack APIs in both code and no-code steps.

About Bot for Slack

Interact with Slack with your own bot user

More Ways to Connect Bot for Slack + Outgrow

Archive Channel with Bot for Slack API on New Lead from Outgrow API
Outgrow + Bot for Slack
 
Try it
Delete File with Bot for Slack API on New Lead from Outgrow API
Outgrow + Bot for Slack
 
Try it
Create a Channel with Bot for Slack API on New Lead from Outgrow API
Outgrow + Bot for Slack
 
Try it
Delete Message with Bot for Slack API on New Lead from Outgrow API
Outgrow + Bot for Slack
 
Try it
Get Channel with Slack Bot API on New Lead from Outgrow API
Outgrow + Bot for Slack
 
Try it
New Lead from the Outgrow API

Emit new event when a new lead is created.

 
Try it
New Direct Message from the Bot for Slack API

Emit new event when a message is posted in a direct message channel (Bot). To open a conversation, use the Pipedream Action "Send a Direct Message" to send a message from the Bot, or enable direct messages to the Bot in your App Settings (Settings->App Home->Show Tabs->Messages Tab), and send a direct message to the Bot.

 
Try it
New Message In Channel from the Bot for Slack API

Emit new event when a new message is posted to a public, private or group channel (Bot)

 
Try it
Add Emoji Reaction with the Bot for Slack API

Add an emoji reaction to a message. See the documentation

 
Try it
Archive Channel with the Bot for Slack API

Archive a channel (Bot). See the documentation

 
Try it
Create a Channel with the Bot for Slack API

Create a new channel (Bot). See the documentation

 
Try it
Delete File with the Bot for Slack API

Delete a file (Bot). See the documentation

 
Try it
Delete Message with the Bot for Slack API

Delete a message (Bot). See the documentation

 
Try it

Explore Other Apps

1
-
24
of
2,800+
apps by most popular

HTTP / Webhook
HTTP / Webhook
Get a unique URL where you can send HTTP or webhook requests
Node
Node
Anything you can do with Node.js, you can do in a Pipedream workflow. This includes using most of npm's 400,000+ packages.
Python
Python
Anything you can do in Python can be done in a Pipedream Workflow. This includes using any of the 350,000+ PyPi packages available in your Python powered workflows.
Schedule
Schedule
Trigger workflows on an interval or cron schedule.
Pipedream Utils
Pipedream Utils
Utility functions to use within your Pipedream workflows
Notion
Notion
Notion is a new tool that blends your everyday work apps into one. It's the all-in-one workspace for you and your team.
OpenAI (ChatGPT)
OpenAI (ChatGPT)
OpenAI is an AI research and deployment company with the mission to ensure that artificial general intelligence benefits all of humanity. They are the makers of popular models like ChatGPT, DALL-E, and Whisper.
Anthropic (Claude)
Anthropic (Claude)
AI research and products that put safety at the frontier. Introducing Claude, a next-generation AI assistant for your tasks, no matter the scale.
Google Sheets
Google Sheets
Use Google Sheets to create and edit online spreadsheets. Get insights together with secure sharing in real-time and from any device.
Telegram
Telegram
Telegram, is a cloud-based, cross-platform, encrypted instant messaging (IM) service.
Google Drive
Google Drive
Google Drive is a file storage and synchronization service which allows you to create and share your work online, and access your documents from anywhere.
Google Calendar
Google Calendar
With Google Calendar, you can quickly schedule meetings and events and get reminders about upcoming activities, so you always know what’s next.
Shopify
Shopify
Shopify is a complete commerce platform that lets anyone start, manage, and grow a business. You can use Shopify to build an online store, manage sales, market to customers, and accept payments in digital and physical locations.
Supabase
Supabase
Supabase is an open source Firebase alternative.
MySQL
MySQL
MySQL is an open-source relational database management system.
PostgreSQL
PostgreSQL
PostgreSQL is a free and open-source relational database management system emphasizing extensibility and SQL compliance.
Premium
AWS
AWS
Amazon Web Services (AWS) offers reliable, scalable, and inexpensive cloud computing services.
Premium
Twilio SendGrid
Twilio SendGrid
Send marketing and transactional email through the Twilio SendGrid platform with the Email API, proprietary mail transfer agent, and infrastructure for scalable delivery.
Amazon SES
Amazon SES
Amazon SES is a cloud-based email service provider that can integrate into any application for high volume email automation
Premium
Klaviyo
Klaviyo
Email Marketing and SMS Marketing Platform
Premium
Zendesk
Zendesk
Zendesk is award-winning customer service software trusted by 200K+ customers. Make customers happy via text, mobile, phone, email, live chat, social media.
Premium
ServiceNow
ServiceNow
The smarter way to workflow
Slack
Slack
Slack is a channel-based messaging platform. With Slack, people can work together more effectively, connect all their software tools and services, and find the information they need to do their best work — all within a secure, enterprise-grade environment.
Microsoft Teams
Microsoft Teams
Microsoft Teams has communities, events, chats, channels, meetings, storage, tasks, and calendars in one place.