Get Document
linkedin.get_document
ActionChat & messagingconnection required
Calls the LinkedIn API with the connection's credentials.
Read one uploaded document — its processing status and download URL.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- Bearer token
- Providers
- Secret shape
- the LinkedIn OAuth2 access token, or {"access_token": "…"}
- Config it needs
- api_version
- Resolved by
- config.connection_id, else node.connection_id
Configuration
1 field, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
document_urn The document to read, e.g. urn:li:document:D5510AQHXjcP8QBYD9A. | string | Yes | — | — | urn:li:document:D5510AQHXjcP8QBYD9A |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"document_urn": "urn:li:document:D5510AQHXjcP8QBYD9A"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
id The asset URN — urn:li:image:… or urn:li:document:…. | string | — |
owner The person or organization URN that owns the asset. | string | — |
status WAITING_UPLOAD, PROCESSING, AVAILABLE or PROCESSING_FAILED. Only an AVAILABLE asset renders in a post. | string | — |
download_url A signed URL to fetch the asset, while it is valid. | string | — |
download_url_expires_at When that URL stops working (epoch ms). | number | — |
{
"download_url": "",
"download_url_expires_at": 0,
"id": "",
"owner": "",
"status": ""
}See Get Document run in a workflow.
In a technical demo we add the LinkedIn connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.