Actions65
- Posts Actions
- Company Pages Actions
- Get Company Page
- Get Company Pages
- Update Company Page
- Get Company Page Followers
- Get Company Page Analytics
- Get Company Page Posts
- Create Company Page Post
- Get Company Page Insights
- Get Company Page Engagement
- Get Company Page Demographics
- Get Company Page Content
- Get Company Page Events
- Create Company Page Event
- Get Company Page Jobs
- Get Company Page Lifecycle
- Advertising Actions
- Get Ad Accounts
- Get Ad Account
- Get Campaigns
- Get Campaign
- Create Campaign
- Update Campaign
- Delete Campaign
- Get Ad Sets
- Get Ad Set
- Create Ad Set
- Update Ad Set
- Delete Ad Set
- Get Ads
- Get Ad
- Create Ad
- Update Ad
- Delete Ad
- Get Audiences
- Get Audience
- Create Audience
- Update Audience
- Delete Audience
- Get Lead Gen Forms
- Get Lead Gen Form
- Create Lead Gen Form
- Update Lead Gen Form
- Delete Lead Gen Form
- Get Ad Analytics
- Get Campaign Analytics
- Get Ad Set Analytics
- Search Actions
Advertising → Get Lead Gen Form
AI-generatedOverview
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
- LinkedIn Marketing API Documentation
- LinkedIn Lead Gen Forms API
- N8N Documentation on Credentials
- N8N Tools API - LinkedIn Integration (community resource)
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.