N8N Tools - LinkedIn Enhanced icon

N8N Tools - LinkedIn Enhanced

Comprehensive LinkedIn Marketing API v2 integration for N8N workflows with B2B marketing and networking features

Advertising → Get Lead Gen Form

AI-generated

Overview

This node integrates with LinkedIn's Marketing API v2 via the N8N Tools API to perform various advertising-related operations. Specifically, for the Advertising resource and the Get Lead Gen Form operation, it retrieves detailed information about a specific LinkedIn Lead Generation Form associated with a company.

This functionality is useful for marketers and advertisers who want to programmatically access lead generation form data from their LinkedIn ad campaigns. For example, you can use this node to fetch form details to analyze lead capture forms' configurations or to automate workflows that process leads generated through LinkedIn ads.

Properties

Name Meaning
Company ID The LinkedIn Company ID associated with the advertising account owning the lead gen form.
Max Results Maximum number of results to return (used in some operations but not specifically here).
Start Index Index of the first result to return (used in some operations but not specifically here).

For the Get Lead Gen Form operation, the key required property is:

  • Company ID: Identifies the LinkedIn company whose lead gen form you want to retrieve.
  • Form ID (not listed in your provided properties but used internally): The unique identifier of the lead gen form to fetch.

Output

The node outputs JSON data representing the requested lead generation form's details. This typically includes all metadata and configuration related to the specified lead gen form, such as its name, status, questions, privacy policy, and other relevant attributes defined by LinkedIn's API.

No binary data output is involved in this operation.

Example output structure (simplified):

{
  "id": "formId",
  "name": "Lead Gen Form Name",
  "status": "ACTIVE",
  "questions": [...],
  "privacyPolicy": {...},
  ...
}

Each execution returns an array of items, each containing the JSON response for the requested lead gen form.

Dependencies

  • Requires an active subscription and valid API key for the N8N Tools API, which acts as a proxy/enhancement layer over LinkedIn's Marketing API.
  • Requires OAuth2 credentials for LinkedIn API access configured in n8n.
  • The node uses HTTP requests to the N8N Tools API endpoint, so internet connectivity and proper credential setup are necessary.

Troubleshooting

  • Invalid subscription or API key error: If the node throws an error indicating invalid subscription or API key, verify that your N8N Tools API key is correct and that your subscription is active.
  • Permission errors from LinkedIn API: Ensure that the LinkedIn OAuth2 credentials have sufficient permissions to access advertising and lead gen form data.
  • Missing or incorrect Company ID or Form ID: Double-check that the Company ID and Form ID parameters are correctly set; otherwise, the API will fail to find the requested resources.
  • Rate limiting or API quota exceeded: LinkedIn APIs have usage limits; if you encounter rate limit errors, consider adding delays or reducing request frequency.

Links and References


This summary focuses on the Advertising resource's Get Lead Gen Form operation as requested, based on static analysis of the provided source code and input properties.

Discussion