n8n-docs/docs/integrations/builtin/credentials/linkedin.md

3.7 KiB

title description contentType priority
LinkedIn credentials Documentation for LinkedIn credentials. Use these credentials to authenticate LinkedIn in n8n, a workflow automation platform. integration medium

LinkedIn credentials

You can use these credentials to authenticate the following nodes:

Prerequisites

  • Create a LinkedIn{:target=_blank .external-link} account.
  • Create a LinkedIn Company Page{:target=_blank .external-link}.

Supported authentication methods

  • Community Management OAuth2: Use this method if you're a new LinkedIn user or creating a new LinkedIn app.
  • OAuth2: Use this method for older LinkedIn apps and user accounts.

Refer to LinkedIn's Community Management API documentation{:target=_blank .external-link} for more information about the service.

This credential works with API version 202404.

Using Community Management OAuth2

To configure this credential, you'll need:

  • A Client ID: Generated after you create a new developer app.
  • A Client Secret: Generated after you create a new developer app.

To enable OAuth, you need to create a new developer app{:target=_blank .external-link}.

Use these settings for your app:

  • Enter a LinkedIn Company Page for LinkedIn Page. Refer to Associate an App with a LinkedIn Page{:target=_blank .external-link} for more guidance.
  • Enable APIs for your app, including:
    • Share on LinkedIn
    • Sign In with LinkedIn using OpenID Connect

/// note | Posting from organization accounts To post as an organization, you need to put your app through LinkedIn's Community Management App Review{:target=_blank .external-link} process. ///

Refer to Getting Access to LinkedIn APIs{:target=_blank .external-link} for more information on scopes and permissions.

Using OAuth2

--8<-- "_snippets/integrations/builtin/credentials/cloud-oauth-button.md"

All users must select:

  • Organization Support: If turned on, the credential requests permission to post as an organization using the w_organization_social scope.
  • Legacy: If turned on, the credential uses legacy scopes for r_liteprofile and r_emailaddress instead of the newer profile and email scopes.

If you need to configure OAuth2 from scratch, create a new developer app{:target=_blank .external-link}.

Use these settings for your app:

  • Enter a LinkedIn Company Page for LinkedIn Page. Refer to Associate an App with a LinkedIn Page{:target=_blank .external-link} for more guidance.
  • Enable APIs for your app, including:
    • Share on LinkedIn
    • Sign In with LinkedIn using OpenID Connect

Refer to Getting Access to LinkedIn APIs{:target=_blank .external-link} for more information on scopes and permissions.