← Twilio SendGrid + Outreach integrations

Create Prospect with Outreach API on New Contact from Twilio SendGrid API

Pipedream makes it easy to connect APIs for Outreach, Twilio SendGrid and 2,400+ other apps remarkably fast.

Trigger workflow on
New Contact from the Twilio SendGrid API
Next, do this
Create Prospect with the Outreach 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 Twilio SendGrid trigger and Outreach 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 Contact trigger
    1. Connect your Twilio SendGrid account
    2. Configure timer
  3. Configure the Create Prospect action
    1. Connect your Outreach account
    2. Optional- Configure Added At
    3. Optional- Configure Address City
    4. Optional- Configure Address Country
    5. Optional- Configure Address State
    6. Optional- Configure Address Street
    7. Optional- Configure Address Street 2
    8. Optional- Configure Address Zip
    9. Optional- Configure Angel List URL
    10. Optional- Configure Available At
    11. Optional- Configure Campaign Name
    12. Optional- Configure Company
    13. Optional- Configure Date Of Birth
    14. Optional- Configure Degree
    15. Optional- Configure Emails
    16. Optional- Configure Event Name
    17. Optional- Configure External Id
    18. Optional- Configure External Owner
    19. Optional- Configure External Source
    20. Optional- Configure Facebook URL
    21. Optional- Configure First Name
    22. Optional- Configure Gender
    23. Optional- Configure GitHub URL
    24. Optional- Configure GitHub Username
    25. Optional- Configure Google Plus URL
    26. Optional- Configure Graduation Date
    27. Optional- Configure Home Phones
    28. Optional- Configure Job Start Date
    29. Optional- Configure Last Name
    30. Optional- Configure LinkedIn Connections
    31. Optional- Configure LinkedIn Id
    32. Optional- Configure LinkedIn URL
    33. Optional- Configure Middle Name
    34. Optional- Configure Mobile Phones
    35. Optional- Configure Nickname
    36. Optional- Configure Occupation
    37. Optional- Configure Opted Out
    38. Optional- Configure Other Phones
    39. Optional- Configure Personal Note 1
    40. Optional- Configure Personal Note 2
    41. Optional- Configure Preferred Contact
    42. Optional- Configure Quora URL
    43. Optional- Configure Region
    44. Optional- Configure School
    45. Optional- Configure Score
    46. Optional- Configure Sharing Team Id
    47. Optional- Configure Source
    48. Optional- Configure Specialties
    49. Optional- Configure Stack Overflow Id
    50. Optional- Configure StackOverflow URL
    51. Optional- Configure Tags
    52. Optional- Configure TimeZone
    53. Optional- Configure Title
    54. Optional- Configure Twitter URL
    55. Optional- Configure Twitter Username
    56. Optional- Configure Voip Phones
    57. Optional- Configure Website URL 1
    58. Optional- Configure Website URL 2
    59. Optional- Configure Website URL 3
    60. Optional- Configure Work Phones
    61. Optional- Configure Custom 1
    62. Optional- Configure Custom 2
    63. Optional- Configure Custom 3
    64. Optional- Configure Custom 4
    65. Optional- Configure Custom 5
    66. Optional- Configure Custom 6
    67. Optional- Configure Custom 7
    68. Optional- Configure Custom 8
    69. Optional- Configure Custom 9
    70. Optional- Configure Custom 10
    71. Optional- Configure Custom 11
    72. Optional- Configure Custom 12
    73. Optional- Configure Custom 13
    74. Optional- Configure Custom 14
    75. Optional- Configure Custom 15
    76. Optional- Configure Custom 16
    77. Optional- Configure Custom 17
    78. Optional- Configure Custom 18
    79. Optional- Configure Custom 19
    80. Optional- Configure Custom 20
  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 contact is created
Version:0.0.7
Key:sendgrid-new-contact

Twilio SendGrid Overview

The Twilio SendGrid API opens up a world of possibilities for email automation, enabling you to send emails efficiently and track their performance. With this API, you can programmatically create and send personalized email campaigns, manage contacts, and parse inbound emails for data extraction. When you harness the power of Pipedream, you can connect SendGrid to hundreds of other apps to automate workflows, such as triggering email notifications based on specific actions, syncing email stats with your analytics, or handling incoming emails to create tasks or tickets.

Trigger Code

import orderBy from "lodash/orderBy.js";
import common from "../common/timer-based.mjs";

export default {
  ...common,
  key: "sendgrid-new-contact",
  name: "New Contact",
  description: "Emit new event when a new contact is created",
  version: "0.0.7",
  type: "source",
  dedupe: "unique",
  hooks: {
    async activate() {
      const currentTimestamp = Date.now();
      const state = {
        processedItems: [],
        lowerTimestamp: currentTimestamp,
        upperTimestamp: currentTimestamp,
      };
      this.db.set("state", state);
    },
  },
  methods: {
    ...common.methods,
    _maxDelayTime() {
      // There is no report from SendGrid as to how much time it takes
      // for a contact to be created and appear in search results, so
      // we're using a rough estimate of 30 minutes here.
      return 30 * 60 * 1000;  // 30 minutes, in milliseconds
    },
    _addDelayOffset(timestamp) {
      return timestamp - this._maxDelayTime();
    },
    _cleanupOldProcessedItems(processedItems, currentTimestamp) {
      return processedItems
        .map((item) => ({
          // We just need to keep track of the record ID and
          // its creation date.
          id: item.id,
          created_at: item.created_at,
        }))
        .filter((item) => {
          const { created_at: createdAt } = item;
          const createdAtTimestamp = Date.parse(createdAt);
          const cutoffTimestamp = this._addDelayOffset(currentTimestamp);
          return createdAtTimestamp > cutoffTimestamp;
        });
    },
    _makeSearchQuery(processedItems, lowerTimestamp, upperTimestamp) {
      const idList = processedItems
        .map((item) => item.id)
        .map((id) => `'${id}'`)
        .join(", ")
      || "''";
      const startTimestamp = this._addDelayOffset(lowerTimestamp);
      const startDate = this.toISOString(startTimestamp);
      const endDate = this.toISOString(upperTimestamp);
      return `
        contact_id NOT IN (${idList}) AND
        created_at BETWEEN
          TIMESTAMP '${startDate}' AND
          TIMESTAMP '${endDate}'
      `;
    },
    generateMeta(data) {
      const {
        item,
        eventTimestamp: ts,
      } = data;
      const {
        id,
        email,
      } = item;
      const slugifiedEmail = this.slugifyEmail(email);
      const summary = `New contact: ${slugifiedEmail}`;
      return {
        id,
        summary,
        ts,
      };
    },
    async processEvent(event) {
      // Transform the timer timestamp to milliseconds
      // to be consistent with how Javascript handles timestamps.
      const eventTimestamp = event.timestamp * 1000;

      // Retrieve the current state of the component.
      const {
        processedItems,
        lowerTimestamp,
        upperTimestamp,
      } = this.db.get("state");

      // Search for contacts within a specific timeframe, excluding
      // items that have already been processed.
      const query = this._makeSearchQuery(processedItems, lowerTimestamp, upperTimestamp);
      const {
        result: items,
        contact_count: contactCount,
      } = await this.sendgrid.searchContacts(query);

      // If no contacts have been retrieved via the API,
      // move the time window forward to possibly capture newer contacts.
      if (contactCount === 0) {
        const newState = {
          processedItems: this._cleanupOldProcessedItems(processedItems, lowerTimestamp),
          lowerTimestamp: upperTimestamp,
          upperTimestamp: eventTimestamp,
        };
        this.db.set("state", newState);
        return;
      }

      // We process the searched records from oldest to newest.
      const itemsToProcess = orderBy(items, "created_at");
      itemsToProcess
        .forEach((item) => {
          const meta = this.generateMeta({
            item,
            eventTimestamp,
          });
          this.$emit(item, meta);
        });

      // Use the timestamp of the last processed record as a lower bound for
      // following searches. This bound will be subjected to an offset so in
      // case older records appear in future search results, but have not
      // appeared until now, can be processed. We only adjust it if it means
      // moving forward, not backwards. Otherwise, we might start retrieving
      // older and older records indefinitely (and we're all about *new*
      // records!)
      const newLowerTimestamp = Math.max(
        lowerTimestamp,
        Date.parse(itemsToProcess[0].created_at),
      );

      // If the total contact count is less than 100, it means that during the
      // next iteration the search results count will most likely be less than
      // 50. In that case, if we extend the upper bound of the search time range
      // we might be able to retrieve more records.
      const newUpperTimestamp = contactCount < 100
        ? eventTimestamp
        : upperTimestamp;

      // The list of processed items can grow indefinitely.
      // Since we don't want to keep track of every processed record
      // ever, we need to clean up this list, removing any records
      // that are no longer relevant.
      const newProcessedItems = this._cleanupOldProcessedItems(
        [
          ...processedItems,
          ...itemsToProcess,
        ],
        newLowerTimestamp,
      );

      // Update the state of the component to reflect the computations
      // made above.
      const newState = {
        processedItems: newProcessedItems,
        lowerTimestamp: newLowerTimestamp,
        upperTimestamp: newUpperTimestamp,
      };
      this.db.set("state", newState);
    },
  },
};

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
N/Adb$.service.dbThis component uses $.service.db to maintain state between executions.
Twilio SendGridsendgridappThis component uses the Twilio SendGrid app.
timer$.interface.timer

Trigger Authentication

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

About 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.

Action

Description:Creates a new prospect in Outreach. [See the documentation](https://developers.outreach.io/api/reference/tag/Prospect/#tag/Prospect/paths/~1prospects/post)
Version:0.0.1
Key:outreach-create-prospect

Outreach Overview

The Outreach API offers extensive capabilities to automate sales engagement processes and integrate with other tools seamlessly on Pipedream. With this API, you can sync lead and prospect data, automate outreach campaigns, and trigger actions based on sales interactions. The API provides endpoints to manage prospects, accounts, opportunities, and more, offering a rich set of data for custom workflows.

Action Code

import { customProps } from "../../common/constants.mjs";
import { parseObject } from "../../common/utils.mjs";
import outreach from "../../outreach.app.mjs";

export default {
  key: "outreach-create-prospect",
  name: "Create Prospect",
  description: "Creates a new prospect in Outreach. [See the documentation](https://developers.outreach.io/api/reference/tag/Prospect/#tag/Prospect/paths/~1prospects/post)",
  version: "0.0.1",
  type: "action",
  props: {
    outreach,
    addedAt: {
      type: "string",
      label: "Added At",
      description: "The date and time the prospect was added to any system. Format: 'YYYY-MM-DDTHH:MM:SS.UUUZ'",
      optional: true,
    },
    addressCity: {
      type: "string",
      label: "Address City",
      description: "The prospect's city (e.g. \"Seattle\").",
      optional: true,
    },
    addressCountry: {
      type: "string",
      label: "Address Country",
      description: "The prospect's country (e.g. \"USA\").",
      optional: true,
    },
    addressState: {
      type: "string",
      label: "Address State",
      description: "The prospect's state (e.g. \"Washington\").",
      optional: true,
    },
    addressStreet: {
      type: "string",
      label: "Address Street",
      description: "The prospect's street address (e.g. \"1441 N 34th St\").",
      optional: true,
    },
    addressStreet2: {
      type: "string",
      label: "Address Street 2",
      description: "The prospect's second street address, if applicable.",
      optional: true,
    },
    addressZip: {
      type: "string",
      label: "Address Zip",
      description: "The prospect's postal code (e.g. \"98103\").",
      optional: true,
    },
    angelListUrl: {
      type: "string",
      label: "Angel List URL",
      description: "The prospect's AngelList URL.",
      optional: true,
    },
    availableAt: {
      type: "string",
      label: "Available At",
      description: "The date and time the prospect is available to contact again. Format: 'YYYY-MM-DDTHH:MM:SS.UUUZ'",
      optional: true,
    },
    campaignName: {
      type: "string",
      label: "Campaign Name",
      description: "The name of the campaign the prospect is associated with.",
      optional: true,
    },
    company: {
      type: "string",
      label: "Company",
      description: "The name of the company the prospect works at. If associated with an account, this is the name of the account. (e.g. Acme International).",
      optional: true,
    },
    dateOfBirth: {
      type: "string",
      label: "Date Of Birth",
      description: "The date the prospect was born. Format YYYY-MM-DD",
      optional: true,
    },
    degree: {
      type: "string",
      label: "Degree",
      description: "The degree(s) the prospect has received.",
      optional: true,
    },
    emails: {
      type: "string[]",
      label: "Emails",
      description: "A list of email addresses associated with the prospect.",
      optional: true,
    },
    eventName: {
      type: "string",
      label: "Event Name",
      description: "The name of the event the prospect was met at.",
      optional: true,
    },
    externalId: {
      type: "string",
      label: "External Id",
      description: "A custom ID for the prospect, often referencing an ID in an external system.",
      optional: true,
    },
    externalOwner: {
      type: "string",
      label: "External Owner",
      description: "A custom owner for the prospect, often referencing an ownering in an external system.",
      optional: true,
    },
    externalSource: {
      type: "string",
      label: "External Source",
      description: "The source of the resource's creation (e.g. \"outreach-api\").",
      optional: true,
    },
    facebookUrl: {
      type: "string",
      label: "Facebook URL",
      description: "The prospect's Facebook URL.",
      optional: true,
    },
    firstName: {
      type: "string",
      label: "First Name",
      description: "The first name of the prospect.",
      optional: true,
    },
    gender: {
      type: "string",
      label: "Gender",
      description: "The gender of the prospect.",
      optional: true,
    },
    githubUrl: {
      type: "string",
      label: "GitHub URL",
      description: "The prospect's GitHub URL.",
      optional: true,
    },
    githubUsername: {
      type: "string",
      label: "GitHub Username",
      description: "The prospect's GitHub username.",
      optional: true,
    },
    googlePlusUrl: {
      type: "string",
      label: "Google Plus URL",
      description: "The prospect's Google+ URL.",
      optional: true,
    },
    graduationDate: {
      type: "string",
      label: "Graduation Date",
      description: "The graduation date of the prospect.",
      optional: true,
    },
    homePhones: {
      type: "string[]",
      label: "Home Phones",
      description: "A list of home phone numbers associated with the prospect.",
      optional: true,
    },
    jobStartDate: {
      type: "string",
      label: "Job Start Date",
      description: "The starting date of the prospect's current job.",
      optional: true,
    },
    lastName: {
      type: "string",
      label: "Last Name",
      description: "The last name of the prospect.",
      optional: true,
    },
    linkedInConnections: {
      type: "integer",
      label: "LinkedIn Connections",
      description: "The number of connections on the prospect's LinkedIn profile.",
      optional: true,
    },
    linkedInId: {
      type: "string",
      label: "LinkedIn Id",
      description: "The prospect's LinkedIn ID.",
      optional: true,
    },
    linkedInUrl: {
      type: "string",
      label: "LinkedIn URL",
      description: "The prospect's LinkedIn URL.",
      optional: true,
    },
    middleName: {
      type: "string",
      label: "Middle Name",
      description: "The middle name of the prospect.",
      optional: true,
    },
    mobilePhones: {
      type: "string[]",
      label: "Mobile Phones",
      description: "A list of mobile phone numbers associated with the prospect.",
      optional: true,
    },
    nickname: {
      type: "string",
      label: "Nickname",
      description: "The nickname of the prospect.",
      optional: true,
    },
    occupation: {
      type: "string",
      label: "Occupation",
      description: "The occupation of the prospect (e.g. \"Purchasing Manager\").",
      optional: true,
    },
    optedOut: {
      type: "boolean",
      label: "Opted Out",
      description: "A boolean value representing whether this prospect is currently opted out of all mailings. Set this value to true to opt out the prospect; the 'opted_out' timestamp will be updated to the time of the request. Set this value to false to revert the opt at and clear the opted out timestamp.",
      optional: true,
    },
    otherPhones: {
      type: "string[]",
      label: "Other Phones",
      description: "A list of other phone numbers associated with the prospect.",
      optional: true,
    },
    personalNote1: {
      type: "string",
      label: "Personal Note 1",
      description: "A custom note field related to the prospect.",
      optional: true,
    },
    personalNote2: {
      type: "string",
      label: "Personal Note 2",
      description: "A second note field related to the prospect.",
      optional: true,
    },
    preferredContact: {
      type: "string",
      label: "Preferred Contact",
      description: "The preferred contact method for the prospect.",
      optional: true,
    },
    quoraUrl: {
      type: "string",
      label: "Quora URL",
      description: "The prospect's Quora URL.",
      optional: true,
    },
    region: {
      type: "string",
      label: "Region",
      description: "The primary geographic region of the prospect.",
      optional: true,
    },
    school: {
      type: "string",
      label: "School",
      description: "The school(s) the prospect has attended.",
      optional: true,
    },
    score: {
      type: "string",
      label: "Score",
      description: "A custom score given to measure the quality of the lead.",
      optional: true,
    },
    sharingTeamId: {
      propDefinition: [
        outreach,
        "sharingTeamId",
      ],
      optional: true,
    },
    source: {
      type: "string",
      label: "Source",
      description: "A custom source representing where the lead was first acquired.",
      optional: true,
    },
    specialties: {
      type: "string",
      label: "Specialties",
      description: "A description of the prospect's specialties.",
      optional: true,
    },
    stackOverflowId: {
      type: "string",
      label: "Stack Overflow Id",
      description: "The prospect's StackOverflow ID.",
      optional: true,
    },
    stackOverflowUrl: {
      type: "string",
      label: "StackOverflow URL",
      description: "The prospect's StackOverflow URL.",
      optional: true,
    },
    tags: {
      type: "string[]",
      label: "Tags",
      description: "A list of tag values associated with the account (e.g. [\"Interested\", \"2017 Expo\"]).",
      optional: true,
    },
    timeZone: {
      type: "string",
      label: "TimeZone",
      description: "The prospect's current timezone, preferably in the IANA format (e.g. \"America/LosAngeles\").",
      optional: true,
    },
    title: {
      type: "string",
      label: "Title",
      description: "The title of the prospect.",
      optional: true,
    },
    twitterUrl: {
      type: "string",
      label: "Twitter URL",
      description: "The prospect's Twitter URL.",
      optional: true,
    },
    twitterUsername: {
      type: "string",
      label: "Twitter Username",
      description: "The prospect's Twitter username.",
      optional: true,
    },
    voipPhones: {
      type: "string[]",
      label: "Voip Phones",
      description: "A list of voip phone numbers associated with the prospect.",
      optional: true,
    },
    websiteUrl1: {
      type: "string",
      label: "Website URL 1",
      description: "The URL of the prospect's website.",
      optional: true,
    },
    websiteUrl2: {
      type: "string",
      label: "Website URL 2",
      description: "The value of the prospect's second website URL field.",
      optional: true,
    },
    websiteUrl3: {
      type: "string",
      label: "Website URL 3",
      description: "The value of the prospect's third website URL field.",
      optional: true,
    },
    workPhones: {
      type: "string[]",
      label: "Work Phones",
      description: "A list of work phone numbers associated with the prospect.",
      optional: true,
    },
    ...customProps,
  },
  async run({ $ }) {
    const {
      outreach,
      emails,
      homePhones,
      mobilePhones,
      otherPhones,
      score,
      tags,
      voipPhones,
      workPhones,
      ...data
    } = this;

    const response = await outreach.createProspect({
      $,
      data: {
        data: {
          attributes: {
            emails: emails && parseObject(emails),
            homePhones: homePhones && parseObject(homePhones),
            mobilePhones: mobilePhones && parseObject(mobilePhones),
            otherPhones: otherPhones && parseObject(otherPhones),
            score: score && parseFloat(score),
            tags: tags && parseObject(tags),
            voipPhones: voipPhones && parseObject(voipPhones),
            workPhones: workPhones && parseObject(workPhones),
            ...data,
          },
          type: "prospect",
        },
      },
    });

    $.export("$summary", `Successfully created prospect with Id: ${response.data.id}`);
    return response;
  },
};

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
OutreachoutreachappThis component uses the Outreach app.
Added AtaddedAtstring

The date and time the prospect was added to any system. Format: 'YYYY-MM-DDTHH:MM:SS.UUUZ'

Address CityaddressCitystring

The prospect's city (e.g. "Seattle").

Address CountryaddressCountrystring

The prospect's country (e.g. "USA").

Address StateaddressStatestring

The prospect's state (e.g. "Washington").

Address StreetaddressStreetstring

The prospect's street address (e.g. "1441 N 34th St").

Address Street 2addressStreet2string

The prospect's second street address, if applicable.

Address ZipaddressZipstring

The prospect's postal code (e.g. "98103").

Angel List URLangelListUrlstring

The prospect's AngelList URL.

Available AtavailableAtstring

The date and time the prospect is available to contact again. Format: 'YYYY-MM-DDTHH:MM:SS.UUUZ'

Campaign NamecampaignNamestring

The name of the campaign the prospect is associated with.

Companycompanystring

The name of the company the prospect works at. If associated with an account, this is the name of the account. (e.g. Acme International).

Date Of BirthdateOfBirthstring

The date the prospect was born. Format YYYY-MM-DD

Degreedegreestring

The degree(s) the prospect has received.

Emailsemailsstring[]

A list of email addresses associated with the prospect.

Event NameeventNamestring

The name of the event the prospect was met at.

External IdexternalIdstring

A custom ID for the prospect, often referencing an ID in an external system.

External OwnerexternalOwnerstring

A custom owner for the prospect, often referencing an ownering in an external system.

External SourceexternalSourcestring

The source of the resource's creation (e.g. "outreach-api").

Facebook URLfacebookUrlstring

The prospect's Facebook URL.

First NamefirstNamestring

The first name of the prospect.

Gendergenderstring

The gender of the prospect.

GitHub URLgithubUrlstring

The prospect's GitHub URL.

GitHub UsernamegithubUsernamestring

The prospect's GitHub username.

Google Plus URLgooglePlusUrlstring

The prospect's Google+ URL.

Graduation DategraduationDatestring

The graduation date of the prospect.

Home PhoneshomePhonesstring[]

A list of home phone numbers associated with the prospect.

Job Start DatejobStartDatestring

The starting date of the prospect's current job.

Last NamelastNamestring

The last name of the prospect.

LinkedIn ConnectionslinkedInConnectionsinteger

The number of connections on the prospect's LinkedIn profile.

LinkedIn IdlinkedInIdstring

The prospect's LinkedIn ID.

LinkedIn URLlinkedInUrlstring

The prospect's LinkedIn URL.

Middle NamemiddleNamestring

The middle name of the prospect.

Mobile PhonesmobilePhonesstring[]

A list of mobile phone numbers associated with the prospect.

Nicknamenicknamestring

The nickname of the prospect.

Occupationoccupationstring

The occupation of the prospect (e.g. "Purchasing Manager").

Opted OutoptedOutboolean

A boolean value representing whether this prospect is currently opted out of all mailings. Set this value to true to opt out the prospect; the 'opted_out' timestamp will be updated to the time of the request. Set this value to false to revert the opt at and clear the opted out timestamp.

Other PhonesotherPhonesstring[]

A list of other phone numbers associated with the prospect.

Personal Note 1personalNote1string

A custom note field related to the prospect.

Personal Note 2personalNote2string

A second note field related to the prospect.

Preferred ContactpreferredContactstring

The preferred contact method for the prospect.

Quora URLquoraUrlstring

The prospect's Quora URL.

Regionregionstring

The primary geographic region of the prospect.

Schoolschoolstring

The school(s) the prospect has attended.

Scorescorestring

A custom score given to measure the quality of the lead.

Sharing Team IdsharingTeamIdstring

The ID of the sharing team associated with this object. Access is currently in beta.

Sourcesourcestring

A custom source representing where the lead was first acquired.

Specialtiesspecialtiesstring

A description of the prospect's specialties.

Stack Overflow IdstackOverflowIdstring

The prospect's StackOverflow ID.

StackOverflow URLstackOverflowUrlstring

The prospect's StackOverflow URL.

Tagstagsstring[]

A list of tag values associated with the account (e.g. ["Interested", "2017 Expo"]).

TimeZonetimeZonestring

The prospect's current timezone, preferably in the IANA format (e.g. "America/LosAngeles").

Titletitlestring

The title of the prospect.

Twitter URLtwitterUrlstring

The prospect's Twitter URL.

Twitter UsernametwitterUsernamestring

The prospect's Twitter username.

Voip PhonesvoipPhonesstring[]

A list of voip phone numbers associated with the prospect.

Website URL 1websiteUrl1string

The URL of the prospect's website.

Website URL 2websiteUrl2string

The value of the prospect's second website URL field.

Website URL 3websiteUrl3string

The value of the prospect's third website URL field.

Work PhonesworkPhonesstring[]

A list of work phone numbers associated with the prospect.

Custom 1custom1string

The value of the first custom field.

Custom 2custom2string

The value of the second custom field.

Custom 3custom3string

The value of the third custom field.

Custom 4custom4string

The value of the fourth custom field.

Custom 5custom5string

The value of the fifth custom field.

Custom 6custom6string

The value of the sixth custom field.

Custom 7custom7string

The value of the seventh custom field.

Custom 8custom8string

The value of the eight custom field.

Custom 9custom9string

The value of the ninth custom field.

Custom 10custom10string

The value of the 10th custom field.

Custom 11custom11string

The value of the 11th custom field.

Custom 12custom12string

The value of the 12th custom field.

Custom 13custom13string

The value of the 13th custom field.

Custom 14custom14string

The value of the 14th custom field.

Custom 15custom15string

The value of the 15th custom field.

Custom 16custom16string

The value of the 16th custom field.

Custom 17custom17string

The value of the 17th custom field.

Custom 18custom18string

The value of the 18th custom field.

Custom 19custom19string

The value of the 19th custom field.

Custom 20custom20string

The value of the 20th custom field.

Action Authentication

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

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

audits.allaudits.readaccounts.allaccounts.readaccounts.writeaccounts.deletecallDispositions.allcallDispositions.readcallDispositions.writecallDispositions.deletecallPurposes.allcallPurposes.readcallPurposes.writecallPurposes.deletecalls.allcalls.readcalls.writecalls.deletecustomDuties.allcustomDuties.readcustomDuties.writecustomDuties.deletecontentCategories.allcomplianceRequests.readcomplianceRequests.writecomplianceRequests.allcontentCategories.readcontentCategories.writecontentCategories.deletecontentCategoryMemberships.allcontentCategoryMemberships.readcontentCategoryMemberships.writecontentCategoryMemberships.deletecontentCategoryOwnerships.allcontentCategoryOwnerships.readcontentCategoryOwnerships.writecontentCategoryOwnerships.deleteduties.allduties.readduties.writeduties.deleteemailAddresses.allemailAddresses.reademailAddresses.writeemailAddresses.writeevents.allevents.readevents.writeevents.deletefavorites.allfavorites.readfavorites.writefavorites.deletemailAliases.allmailAliases.readmailboxes.allmailboxes.readmailboxes.writemailboxes.deletemailings.allmailings.readmailings.writemailings.deleteopportunities.allopportunities.readopportunities.writeopportunities.deleteopportunityProspectRoles.readopportunityProspectRoles.writeopportunityProspectRoles.allopportunityProspectRoles.deleteopportunityStages.allopportunityStages.readopportunityStages.writeopportunityStages.deletepersonas.allpersonas.readpersonas.writepersonas.deletephoneNumbers.allphoneNumbers.readphoneNumbers.writephoneNumbers.deleteprofiles.allprofiles.readprofiles.writeprofiles.deleteprospects.allprospects.readprospects.writeprospects.deleterecipients.allrecipients.allrecipients.readrecipients.writerecipients.deleteroles.allroles.readroles.writeroles.deleterulesets.allrulesets.readrulesets.writerulesets.deletesequenceStates.allsequenceStates.readsequenceStates.writesequenceStates.deletesequenceSteps.allsequenceSteps.readsequenceSteps.writesequenceSteps.deletesequenceTemplates.allsequenceTemplates.readsequenceTemplates.writesequenceTemplates.deletesequences.allsequences.readsequences.writesequences.deletesnippets.allsnippets.readsnippets.writesnippets.deletestages.allstages.readstages.writestages.deletetaskPriorities.alltaskPriorities.readtaskPriorities.writetaskPriorities.deletetasks.alltasks.readtasks.writetasks.deleteteams.allteams.readteams.writeteams.deletetemplates.alltemplates.readtemplates.writetemplates.deleteusers.allusers.readusers.writeusers.deletewebhooks.allwebhooks.readwebhooks.writewebhooks.delete

About Outreach

Close Deals Faster in the Remote Sales World

More Ways to Connect Outreach + Twilio SendGrid

Add Prospect to Sequence with Outreach API on New Events (Instant) from Twilio SendGrid API
Twilio SendGrid + Outreach
 
Try it
Add Prospect to Sequence with Outreach API on New Contact from Twilio SendGrid API
Twilio SendGrid + Outreach
 
Try it
Create Account with Outreach API on New Events (Instant) from Twilio SendGrid API
Twilio SendGrid + Outreach
 
Try it
Create Account with Outreach API on New Contact from Twilio SendGrid API
Twilio SendGrid + Outreach
 
Try it
Create Prospect with Outreach API on New Events (Instant) from Twilio SendGrid API
Twilio SendGrid + Outreach
 
Try it
New Contact from the Twilio SendGrid API

Emit new event when a new contact is created

 
Try it
New Events (Instant) from the Twilio SendGrid API

Emit new event when any of the specified SendGrid events is received

 
Try it
New Call Instant from the Outreach API

Emit new event when a call is created, updated, or deleted.

 
Try it
New Email Event (Instant) from the Outreach API

Emit new event when an email is created, updated, destroyed, bounced, delivered, opened or replied.

 
Try it
New Task Event (Instant) from the Outreach API

Emit new event when a task is created, updated, destroyed or completed.

 
Try it
Add Email to Global Suppression with the Twilio SendGrid API

Allows you to add one or more email addresses to the global suppressions group. See the docs here

 
Try it
Add or Update Contact with the Twilio SendGrid API

Adds or updates a contact. See the docs here

 
Try it
Create Contact List with the Twilio SendGrid API

Allows you to create a new contact list. See the docs here

 
Try it
Create Send with the Twilio SendGrid API

Create a single send. See the docs here

 
Try it
Delete Blocks with the Twilio SendGrid API

Allows you to delete all email addresses on your blocks list. See the docs here

 
Try it

Explore Other Apps

1
-
24
of
2,400+
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.
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.
Premium
Salesforce
Salesforce
Web services API for interacting with Salesforce
Premium
HubSpot
HubSpot
HubSpot's CRM platform contains the marketing, sales, service, operations, and website-building software you need to grow your business.
Premium
Zoho CRM
Zoho CRM
Zoho CRM is an online Sales CRM software that manages your sales, marketing, and support in one CRM platform.
Premium
Stripe
Stripe
Stripe powers online and in-person payment processing and financial solutions for businesses of all sizes.
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.
Premium
WooCommerce
WooCommerce
WooCommerce is the open-source ecommerce platform for WordPress.
Premium
Snowflake
Snowflake
A data warehouse built for the cloud
Premium
MongoDB
MongoDB
MongoDB is an open source NoSQL database management program.
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.
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.
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.
Schedule
Schedule
Trigger workflows on an interval or cron schedule.