🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!
Guides & Tutorials October 19, 2026

How to Connect Gravity Forms to LinkedIn (Step-by-Step)

GravityExtra
How to Connect Gravity Forms to LinkedIn (Step-by-Step)

LinkedIn is where many B2B conversations start, yet most websites treat it as a separate world. A form on your site can feed it directly. A testimonial form can become a company page post, and an enquiry can be recorded as a lead response with company and job title attached.

This guide shows how to connect Gravity Forms to LinkedIn with the GravityExtra LinkedIn add-on. It covers authentication, the three available actions and what to check when a request fails.

If you only want the short version: install the add-on, save your LinkedIn credentials, add a feed to your form, map the fields and submit a test entry. The rest of this article explains each step, shows a worked field mapping, covers conditional logic and lists the errors you are most likely to meet.

What You Can Do With Gravity Forms and LinkedIn

The LinkedIn Add-On add-on is a standard Gravity Forms feed add-on. A feed is a saved set of instructions on a form: when an entry is submitted, the feed sends data to LinkedIn. You can add as many feeds as you like to one form, and each feed has its own settings. Here is what the feeds can do.

  • Create a share or post. Publish a post to LinkedIn from form fields: the text, an article URL and an article title, with visibility set to Public or Connections Only.
  • Send a message. Send a LinkedIn message based on the entry.
  • Record a lead response. Create a lead gen form response using email, first name, last name, company and job title fields.
  • Post to an organisation. Enter an Organization ID in the settings to act for a company page.
  • Use conditions. Post or send only when an entry matches a rule, for example only approved testimonials.

Because the add-on calls the LinkedIn API from your own WordPress site, there is no relay service in the middle. Your data goes from your server to LinkedIn, and the result of each attempt is written back to the entry so you can check it later.

Real-World Ways to Use It

Here are three set-ups that site owners build most often with the LinkedIn add-on. Each one needs only a single feed on the form.

  • A customer story form publishes an approved story to your company page.
  • A lead form records the visitor's company and job title as a lead gen form response.
  • A team announcement form shares the news with a link to the article on your site.

Before You Start

Make sure you have the following ready. It saves a lot of switching between tabs.

  • WordPress with Gravity Forms 2.5 or later installed and a form you want to connect.
  • The GravityExtra LinkedIn add-on, downloaded from your account as a zip file.
  • A LinkedIn developer app and an access token.
  • A few minutes and one test entry to check the result.

Step by Step: Connect Gravity Forms to LinkedIn

Step 1. Install and activate the add-on

In WordPress go to Plugins, then Add New, then Upload Plugin. Choose the zip file, install it and click Activate. A new item called LinkedIn Add-On now appears under Forms, then Settings.

Step 2. Create an access token

In the LinkedIn Developer Portal open My Apps, choose your app, go to the Auth tab and generate an access token with the permissions your actions need.

Step 3. Find the organisation ID

If you post as a company page, open the page admin settings and copy the organisation URN in the form urn:li:organization followed by a number.

Step 4. Save them in WordPress

Open Forms, then Settings, then LinkedIn Add-On. Enter the Access Token and the Organization ID and save. If a license section is shown, enter your license key first.

Step 5. Add a feed to your form

Open your form in the editor, go to Settings and choose LinkedIn Add-On. Click Add New to start a feed. Give it a Feed Name that says what it does, for example the form name followed by the action. A clear name helps later when you have several feeds on a form.

Step 6. Choose the Action

The Action drop-down offers Create Share/Post, Send Message and Create Lead Gen Form Response.

Step 7. Map your form fields

Each setting that reads Field in its label is a drop-down of the fields in your form. Pick the form field that holds the matching information. Settings marked required must be filled in before the feed will save. The next section shows a complete example.

Step 8. Save and test

Save the feed, open the form on your site and submit a test entry with real looking data. Then open the entry in Gravity Forms and read the notes. The add-on adds a note for every attempt. If it worked you will see the success message, and you can confirm the record inside LinkedIn.

Field Mapping Example

Example: a customer story form that publishes a company post

Assume a customer story form with a story text field, a link to the full story and a headline. With the action set to Create Share/Post, map the feed as follows.

Feed setting Form field or value Note
Post Text Field Story text
Article URL Field Story link
Article Title Field Headline
Visibility Public Or Connections Only

Use real field types where you can. An Email field validates the address before the entry is saved, a Phone field keeps numbers tidy and a Drop Down gives you exact values that are easy to match later. The cleaner the form data, the fewer surprises on the LinkedIn side.

Use Conditional Logic to Control What Gets Sent

Use Enable Condition so that nothing goes out by accident. For a post action, add an Approved checkbox that only an administrator ticks when editing the entry, and set the condition to that checkbox being checked. For the lead response action use a condition on the consent field instead.

Conditions are evaluated when the entry is submitted. If the condition is not met the feed is skipped and nothing is sent, but the entry is still saved in Gravity Forms as usual.

Tips for a Reliable Set-Up

  • Test on a staging copy first. Use a staging site or a test form so that no real records are created in LinkedIn by accident.
  • Mark key fields as required. A feed cannot send a value the visitor never typed, so make the fields that LinkedIn needs required in the form.
  • Name your feeds clearly. When one form has several feeds, a name that combines the form and the action keeps the feed list easy to read.
  • Keep credentials private. Only administrators should reach the Forms settings page where the credentials are stored. Replace a key if you suspect it was shared.
  • Ask for consent where it is required. If the data is used for marketing, add a clear consent checkbox and use it as the feed condition.

Check the Result in the Entry Notes

The entry gets a note from the add-on showing the response from LinkedIn. Errors from LinkedIn are written to the same note.

Treat the notes as your first stop for any problem. They show the exact response from LinkedIn, which usually points straight at the cause.

Troubleshooting

These are the problems people meet most often when they connect Gravity Forms to LinkedIn, with the fix for each.

LinkedIn returns an invalid or expired token message

Access tokens expire. Generate a new token in the developer portal and save it again.

The post is not created for the company page

Check the Organization ID format, which must be the full URN, and that your app has permission to post for that page.

Nothing happens after submission

Check that the feed is active and its condition matches the entry.

Lead response fields are empty

Map the Email, First Name, Last Name, Company and Job Title fields in the feed.

The post text is blank

Make sure the Post Text Field is a field the visitor actually fills in.

Frequently Asked Questions

Can I post to a company page?

Yes. Enter the Organization ID on the LinkedIn Add-On settings page.

Can I control who sees the post?

Yes. Visibility can be Public or Connections Only.

Can I record leads from a form?

Yes. Use the action Create Lead Gen Form Response.

Is an automation service required?

No. The add-on calls the LinkedIn API from your site.

Do tokens expire?

Yes. LinkedIn access tokens have a limited life, so generate a new one when requests start failing.

Get the LinkedIn Add-On for Gravity Forms

Ready to try it? The LinkedIn Add-On add-on is available on the LinkedIn product page, and the LinkedIn documentation walks through every setting in detail. A GravityExtra license also covers the other integration add-ons in our catalogue, so you can connect more tools as your needs grow.

You may also find these helpful: Gravity Forms HubSpot add-on, Gravity Forms Slack add-on, Gravity Forms Mailchimp add-on. You can browse everything in the full list of Gravity Forms add-ons.

0
0
Your Cart
Your cart is emptyReturn to Shop
🔥 FREQUENTLY BOUGHT TOGETHER
Complete Combo & Save 40%!
ITEM IN YOUR CART
Gravity Forms Klaviyo Add-on
$39.00/yr
+
🎁 RECOMMENDED ADD-ON SAVE 40% OFF
Original Price: $39.00/yr
Bundle Special Price: $23.40/yr