← Drip + GitHub integrations

Search Issues and Pull Requests with GitHub API on New Campaign Subscription Added (Instant) from Drip API

Pipedream makes it easy to connect APIs for GitHub, Drip and 1000+ other apps remarkably fast.

Trigger workflow on
New Campaign Subscription Added (Instant) from the Drip API
Next, do this
Search Issues and Pull Requests with the GitHub API
No credit card required
Into to Pipedream
Watch us build a workflow
Watch us build a workflow
7 min
Watch now ➜

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

Adyen logo
Brex logo
Carta logo
Checkr logo
Chameleon logo
DevRev logo
LinkedIn logo
Netflix logo
New Relic logo
OnDeck logo
Replicated logo
Scale AI logo
Teamwork logo
Warner Bros. logo
Xendit logo

Developers Pipedream

Getting Started

This integration creates a workflow with a Drip trigger and GitHub 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 Campaign Subscription Added (Instant) trigger
    1. Connect your Drip account
    2. Configure Include Received Email
  3. Configure the Search Issues and Pull Requests action
    1. Connect your GitHub account
    2. Configure Query
    3. Configure Maximum Results
  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 subscriber subscribes to an Email Series Campaign.
Version:0.0.2
Key:drip-new-campaign-subscription-added

Drip Overview

With the Drip API, you can:

  • Build drip campaigns that send emails, push notifications, or SMS messages to
    your users
  • Trigger actions in your app based on events that happen in Drip
  • Build custom tools and dashboards on top of your Drip data
  • Automate your workflows
  • And much more!

Trigger Code

import base from "../common/base.mjs";

export default {
  ...base,
  key: "drip-new-campaign-subscription-added",
  name: "New Campaign Subscription Added (Instant)",
  description: "Emit new event when a subscriber subscribes to an Email Series Campaign.",
  version: "0.0.2",
  dedupe: "unique",
  type: "source",
  methods: {
    ...base.methods,
    getEventType() {
      return "subscriber.subscribed_to_campaign";
    },
    getSummary({
      subscriber: {
        email, first_name, last_name,
      },
      properties: { campaign_name },
    }) {
      let string = `New Subscription in campaign ${campaign_name}: ${email}`;
      if (first_name) string += ` - ${first_name} ${last_name}`;
      return string;
    },
  },
};

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
DripdripappThis component uses the Drip app.
N/Adb$.service.dbThis component uses $.service.db to maintain state between executions.
N/Ahttp$.interface.httpThis component uses $.interface.http to generate a unique URL when the component is first instantiated. Each request to the URL will trigger the run() method of the component.
Include Received EmailincludeReceivedEmailboolean

A Boolean specifying whether we should send a notification whenever a subscriber receives an email.

Trigger Authentication

Drip uses OAuth authentication. When you connect your Drip account, Pipedream will open a popup window where you can sign into Drip and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Drip API.

Pipedream requests the following authorization scopes when you connect your account:

About Drip

Marketing automation

Action

Description:Find issues and pull requests by state and keyword. [See docs here](https://docs.github.com/en/search-github/searching-on-github/searching-issues-and-pull-requests)
Version:0.1.7
Key:github-search-issues-and-pull-requests

Action Code

import github from "../../github.app.mjs";

export default {
  key: "github-search-issues-and-pull-requests",
  name: "Search Issues and Pull Requests",
  description: "Find issues and pull requests by state and keyword. [See docs here](https://docs.github.com/en/search-github/searching-on-github/searching-issues-and-pull-requests)",
  version: "0.1.7",
  type: "action",
  props: {
    github,
    query: {
      label: "Query",
      description: "The query contains one or more search keywords and qualifiers",
      type: "string",
    },
    maxResults: {
      label: "Maximum Results",
      description: "The maximum of resources that will be returned",
      type: "integer",
      default: 100,
    },
  },
  async run() {
    return this.github.searchIssueAndPullRequests({
      query: this.query,
      maxResults: this.maxResults,
    });
  },
};

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
GitHubgithubappThis component uses the GitHub app.
Queryquerystring

The query contains one or more search keywords and qualifiers

Maximum ResultsmaxResultsinteger

The maximum of resources that will be returned

Action Authentication

GitHub uses OAuth authentication. When you connect your GitHub account, Pipedream will open a popup window where you can sign into GitHub and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any GitHub API.

Pipedream requests the following authorization scopes when you connect your account:

repoadmin:orgadmin:public_keyadmin:org_hookgistprojectnotificationsuserwrite:discussionwrite:packagesread:packagesadmin:repo_hook

About GitHub

Where the world builds software. Millions of developers and companies build, ship, and maintain their software on GitHub—the largest and most advanced development platform in the world.

More Ways to Connect GitHub + Drip

Create Issue Comment with GitHub API on New Campaign Subscription Added (Instant) from Drip API
Drip + GitHub
 
Try it
Create Issue with GitHub API on New Campaign Subscription Added (Instant) from Drip API
Drip + GitHub
 
Try it
Create or update file contents with GitHub API on New Campaign Subscription Added (Instant) from Drip API
Drip + GitHub
 
Try it
Create Repository with GitHub API on New Campaign Subscription Added (Instant) from Drip API
Drip + GitHub
 
Try it
Get Issue Assignees with GitHub API on New Campaign Subscription Added (Instant) from Drip API
Drip + GitHub
 
Try it
New Campaign Subscription Added (Instant) from the Drip API

Emit new event when a subscriber subscribes to an Email Series Campaign.

 
Try it
New Custom Event Performed (Instant) from the Drip API

Emit new event when a custom event is performed for a subscriber

 
Try it
New Subscriber Added (Instant) from the Drip API

Emit new event when a new subscriber is created

 
Try it
New Tag Applied (Instant) from the Drip API

Emit new event when a tag is applied to a subscriber

 
Try it
New Branch (Instant) from the GitHub API

Emit new events when a new branch is created

 
Try it
Activate Workflow with the Drip API

Activate a workflow. See the docs here

 
Try it
Create Or Update Subscriber with the Drip API

Creates a new subscriber. If the email already exists, it will update the existing subscriber. See the docs here

 
Try it
List Subscribers with the Drip API

List all subscribers. See the docs here

 
Try it
Start Someone on a Workflow with the Drip API

If the workflow is not active, the subscriber will not be added to the workflow. See the docs here

 
Try it
Create Issue with the GitHub API

Create a new issue in a Gihub repo. See docs here

 
Try it