← Gist + LinkedIn integrations

Get Multiple Member Profiles with LinkedIn API on New Contact from Gist API

Pipedream makes it easy to connect APIs for LinkedIn, Gist and 2,000+ other apps remarkably fast.

Trigger workflow on
New Contact from the Gist API
Next, do this
Get Multiple Member Profiles with the LinkedIn API
No credit card required
Intro to Pipedream
Watch us build a workflow
Watch us build a workflow
4 min
Watch now ➜

Trusted by 800,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 Gist trigger and LinkedIn 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 Gist account
    2. Configure Polling interval
  3. Configure the Get Multiple Member Profiles action
    1. Connect your LinkedIn account
    2. Configure People Ids
  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.1
Key:gist-new-contact

Gist Overview

The Gist API empowers you to automate interactions with your Gist CRM platform, efficiently managing contacts, tags, and conversations. Tapping into this potential with Pipedream allows you to build seamless automation workflows that sync data between Gist and other services, trigger actions based on customer behavior, and keep your sales and support teams aligned with real-time information.

Trigger Code

import { DEFAULT_POLLING_SOURCE_TIMER_INTERVAL } from "@pipedream/platform";
import gist from "../../gist.app.mjs";
import sampleEmit from "./test-event.mjs";

export default {
  key: "gist-new-contact",
  name: "New Contact",
  description: "Emit new event when a new contact is created",
  version: "0.0.1",
  type: "source",
  dedupe: "unique",
  props: {
    gist,
    db: "$.service.db",
    timer: {
      label: "Polling interval",
      description: "Pipedream will poll the Gist API on this schedule",
      type: "$.interface.timer",
      default: {
        intervalSeconds: DEFAULT_POLLING_SOURCE_TIMER_INTERVAL,
      },
    },
  },
  methods: {
    _getLastId() {
      return this.db.get("lastId") || 0;
    },
    _setLastId(lastId) {
      this.db.set("lastId", lastId);
    },
    async startEvent(maxResults = 0) {
      const lastId = this._getLastId();
      const items = this.gist.paginate({
        fn: this.gist.listContacts,
        params: {
          order_by: "id",
          order: "desc",
        },
        maxResults,
      });

      let responseArray = [];

      for await (const item of items) {
        if (item.id <= lastId) break;
        responseArray.push(item);
      }
      if (responseArray.length) {
        this._setLastId(responseArray[0].id);
      }

      for (const item of responseArray.reverse()) {
        this.$emit(
          item,
          {
            id: item.id,
            summary: `New contact created: ${item.full_name || item.email} (${item.id})`,
            ts: item.created_at,
          },
        );
      }
    },
  },
  hooks: {
    async deploy() {
      await this.startEvent(25);
    },
  },
  async run() {
    await this.startEvent();
  },
  sampleEmit,
};

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
GistgistappThis component uses the Gist app.
N/Adb$.service.dbThis component uses $.service.db to maintain state between executions.
Polling intervaltimer$.interface.timer

Pipedream will poll the Gist API on this schedule

Trigger Authentication

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

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

read_contactwrite_contactread_bulk_contactswrite_bulk_contactsread_conversationswrite_conversationsread_eventsread_tagswrite_tagsread_teamsread_teammates

About Gist

Build personal relationships at scale. Gist offers live chat, email marketing automation, event tracking, and more.

Action

Description:Gets multiple member profiles at once. [See the docs here](https://docs.microsoft.com/en-us/linkedin/shared/integrations/people/profile-api#retrieve-other-members-profile)
Version:0.1.4
Key:linkedin-get-multiple-member-profiles

LinkedIn Overview

The LinkedIn API on Pipedream allows you to automate interactions with your LinkedIn account, such as posting updates, managing your profile, and engaging with your network. With Pipedream's serverless platform, you can create workflows that trigger on various events, process data, and connect with countless other apps to extend your LinkedIn presence, analyze your network's demographics, automate content sharing, and more.

Action Code

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

export default {
  key: "linkedin-get-multiple-member-profiles",
  name: "Get Multiple Member Profiles",
  description: "Gets multiple member profiles at once. [See the docs here](https://docs.microsoft.com/en-us/linkedin/shared/integrations/people/profile-api#retrieve-other-members-profile)",
  version: "0.1.4",
  type: "action",
  props: {
    linkedin,
    peopleIds: {
      type: "string[]",
      label: "People Ids",
      description: "Identifiers of the members to retrieve",
    },
  },
  async run({ $ }) {
    const peopleIdsArr = this.peopleIds;

    // Generates the ids of the request with this required string format:
    // List((id:{Person ID1}),(id:{Person ID2}),(id:{Person ID3}))
    let peopleIdsList = "List(";
    peopleIdsArr.forEach((personId) =>  {
      peopleIdsList = peopleIdsList.length > 5
        ? peopleIdsList + `,(id:${personId})`
        : peopleIdsList + `(id:${personId})`;
    });
    peopleIdsList = `${peopleIdsList})`;

    const params = {
      ids: peopleIdsList,
    };

    const response = await this.linkedin.getMultipleMemberProfiles({
      $,
      params,
    });

    $.export("$summary", `Successfully retrieved ${this.peopleIds.length} member profile(s)`);

    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
LinkedInlinkedinappThis component uses the LinkedIn app.
People IdspeopleIdsstring[]

Identifiers of the members to retrieve

Action Authentication

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

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

r_1st_connections_sizer_ads_reportingrw_organization_adminw_organization_socialr_organization_socialw_member_social_feedw_member_socialw_organization_social_feedr_basicprofilerw_adsr_organization_social_feedr_ads

About LinkedIn

LinkedIn is a business and employment-focused social media platform. Manage your professional identity. Build and engage with your professional network. Access knowledge, insights and opportunities.

More Ways to Connect LinkedIn + Gist

Create Comment with LinkedIn API on New Contact from Gist API
Gist + LinkedIn
 
Try it
Create Image Post (Organization) with LinkedIn API on New Contact from Gist API
Gist + LinkedIn
 
Try it
Create Image Post (User) with LinkedIn API on New Contact from Gist API
Gist + LinkedIn
 
Try it
Create Like On Share with LinkedIn API on New Contact from Gist API
Gist + LinkedIn
 
Try it
Create a Simple Post (Organization) with LinkedIn API on New Contact from Gist API
Gist + LinkedIn
 
Try it
New Contact from the Gist API

Emit new event when a new contact is created

 
Try it
Add Tag To Existing Contacts with the Gist API

This Action lets you assign a tag to multiple contacts at once. If the tag does not already exist it will be created for you. See docs

 
Try it
Create Or Update Contact with the Gist API

Create or update a contact in Gist See docs

 
Try it
Get Contact with the Gist API

Find a Contact See docs

 
Try it
Remove Tag From Existing Contact with the Gist API

Remove a tag from an existing contact or contacts. See docs

 
Try it
Create a Simple Post (Organization) with the LinkedIn API

Create post on LinkedIn using text, URL or article. See the docs for more information

 
Try it

Explore Other Apps

1
-
24
of
2,000+
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.
Salesforce (REST API)
Salesforce (REST API)
Web services API for interacting with Salesforce
HubSpot
HubSpot
HubSpot's CRM platform contains the marketing, sales, service, operations, and website-building software you need to grow your business.
Zoho CRM
Zoho CRM
Zoho CRM is an online Sales CRM software that manages your sales, marketing, and support in one CRM platform.
Stripe
Stripe
Stripe powers online and in-person payment processing and financial solutions for businesses of all sizes.
Shopify Developer App
Shopify Developer App
Shopify is a user-friendly e-commerce platform that helps small businesses build an online store and sell online through one streamlined dashboard.
WooCommerce
WooCommerce
WooCommerce is the open-source ecommerce platform for WordPress.
Snowflake
Snowflake
A data warehouse built for the cloud
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.
AWS
AWS
Amazon Web Services (AWS) offers reliable, scalable, and inexpensive cloud computing services.
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
Klaviyo
Klaviyo
Email Marketing and SMS Marketing Platform
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.
ServiceNow
ServiceNow
The smarter way to workflow
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.