App Logo
linkedin.com

Create LinkedIn poll post

Publish a poll to the LinkedIn feed: a question, 2 to 4 answer options, and a voting duration. Returns the poll's permalink, confirmed by reloading the account's own activity and finding the published poll.

Input

options required

Between 2 and 4 answer options, each max 30 characters (LinkedIn's own limits). LinkedIn shows two option fields by default and the script adds the extra fields for a third and fourth.

question required

The poll question, max 140 characters (LinkedIn's own limit). This publishes a real, public poll under the logged-in member immediately, so show the exact question and options to the user and get their explicit approval for this specific content before running — approval from an earlier or unrelated message does not carry over.

text optional

Optional commentary posted above the poll, in the main composer body. Omit for a bare poll.

durationDays optional

How long voting stays open, in days. These are the only four values LinkedIn offers (1 day, 3 days, 1 week, 2 weeks) and they are the select's own option values, which are numeric and therefore locale-invariant. Defaults to 7 (1 week), matching LinkedIn's own default.

Default: 7

Output

posted required

True when this run published a new poll. False when an identical poll already existed and nothing was posted (see already_present).

options required
question required
account_used required

Display name of the logged-in member, read from the composer rather than assumed.

verified_on_page required

True only if the account's own activity was reloaded after publishing and a post carrying this exact question was found. Never inferred from the composer closing.

url optional

Permalink of the poll, resolved from the account's own recent activity.

urn optional

The poll post's activity urn — the join key, usable with get_post or delete_post.

durationDays optional
already_present optional

True when a poll with this exact question was already on the account's own activity before this run composed anything — nothing new was posted, and url/urn point at the existing poll. This makes retrying after a failed or ambiguous run safe rather than duplicating a public post.

Start building not clicking