Workflows · From Tasks · from_linkedin

Purpose

Imports data from LinkedIn. The following task types are currently supported:

  1. Profile API:
    1. /v2/me
    2. /v2/organizationsPageStatistics
    3. /v2/organizations/{organization ID}
  2. UGC Post API:
    1. /v2/ugcPosts

To identify and retrieve the current member's profile based on the access token.

Task Type: /v2/me

Properties

propertytyperequireddescription
typeenumerator (see description)yesMust be: /v2/me
conn_idstringnoConnection string as handed to you by the Onesecondbefore team. Default is `linkedin`

Example usage

task:
    type: from_linkedin

extract:
    type: /v2/me

Task Type: /v2/organizationPageStatistics

Properties

propertytyperequireddescription
typeenumerator (see description)yesMust be: /v2/organizationPageStatistics
organizationstringnoThe organization identifier or URN. Must be of format urn:li:organization:{id}.
conn_idstringnoConnection string as handed to you by the Onesecondbefore team. Default is `linkedin`

Example usage

task:
    type: from_linkedin

extract:
    type: /v2/organizationPageStatistics
    organization: urn:li:organization:67288917

Task Type: /v2/organizations/{organization ID}

Properties

propertytyperequireddescription
typeenumerator (see description)yesMust be: /v2/organizations/{organization ID}
conn_idstringnoConnection string as handed to you by the Onesecondbefore team. Default is `linkedin`

Example usage

task:
    type: from_linkedin

extract:
    #onesecondbefore
    type: /v2/organizations/67288917

Task Type: /v2/ugcPosts

Properties

propertytyperequireddescription
typeenumerator (see description)yesMust be: /v2/ugcPosts Finds UGC Posts by author.
authorsstringnoMust be either a person URN (urn:li:person:123ABC) or an organization URN (urn:li:organization:12345)
sortByenumerator(CREATED, LAST_MODIFIED)noYou can also pass an optional param sortBy=CREATED or sortBy=LAST_MODIFIED to author finder which will sort UGC posts based on created timestamp field (created.time) or lastModified timestamp field (lastModified.time) in descending order (most recent to least recent). Without this param, by default, it is set to sortBy=LAST_MODIFIED.
conn_idstringnoConnection string as handed to you by the Onesecondbefore team. Default is `linkedin`

Example usage

task:
    type: from_linkedin

#Extract
extract:
    type: /v2/ugcPosts
    authors: urn:li:organization:67288917
    sortBy: CREATED

Details

itemdescription
APILinkedIn API Overview
Pre-formatted schemaYes. Comes with a pre-formatted and described schema.