Why the field label is misleading
Node parameters with a "Name or ID" label are resource locators. In the editor they offer a picker, and choosing an entry stores the numeric ID behind a human-readable caption — which is where the "Name" half of the label comes from. Switch the same parameter to an expression and that resolution step disappears: whatever the expression evaluates to is sent as-is, and a name string is not an ID.
That is why the error is so counterintuitive. The value in the field is a real organization that exists in the account and is findable in Pipedrive's own search, so nothing about it looks wrong. The problem is not the organization, the credential, or the account — it is that the only thing this parameter accepts at runtime is the record's numeric ID.
The Person field on the same Deal node, and Pipedrive custom fields of type person or organization, follow the identical rule. If a workflow populates several of these from name strings, all of them need the same treatment, and fixing one at a time produces a sequence of identical-looking errors.
Resolve the organization to its numeric ID via the API
Resolve the name with the organizations search endpoint and take the numeric id from the result. Search is fuzzy by default, so pass exact_match=true when you want a literal match and are prepared to treat anything else as a miss; leave it off when your source data is messy and you would rather score the candidates yourself. Either way, inspect what comes back before wiring it into the create step, because the interesting cases are zero results and more than one.
# Exact match, minimal response
GET https://COMPANY.pipedrive.com/api/v2/organizations/search
?term=Acme%20Corp&exact_match=true&limit=10
x-api-token: YOUR_TOKEN
# -> { "success": true,
# "data": { "items": [ { "result_score": 1.0,
# "item": { "id": 789, "name": "Acme Corp",
# "address": null, "owner": {...} } } ] } }
# use data.items[0].item.id -> 789
# items is empty -> the organization does not exist; create it or fail loudly
# items has several -> ambiguous; disambiguate before writing anything
# Then, and only then:
POST https://COMPANY.pipedrive.com/api/v2/deals
{ "title": "Acme renewal", "org_id": 789 } # numeric ID, never the name
Resolve the organization to its numeric ID first
Add a Pipedrive "Search" or "Get Many" organizations step ahead of the create/update step, filtering by name, and extract the returned numeric id field from the matching result rather than passing the name string forward directly into the Organization field.
If multiple organizations can share the same name in your Pipedrive account, add a check for more than one result and decide how to handle ambiguity (exact match on an additional field, or flagging for manual review) rather than assuming the first result returned is always correct.
Once the numeric ID is confirmed, pass that ID — not the name — into the Organization Name or ID field on the deal or person create/update node, and apply the identical lookup pattern to the Person field if that is also being populated from a name string.
Verify the fix
- Run the workflow against a test organization name and confirm the search step returns exactly the numeric ID expected before the create/update step executes.
- Confirm the created or updated record in Pipedrive shows the correct organization linked, not just that the node reported success.
- If your data source can produce organization names that do not yet exist in Pipedrive, decide explicitly whether the workflow should create a new organization first or fail cleanly — do not let an unresolved name silently fall through to this error in production.
Ambiguity is the real failure mode, not the syntax
Once the lookup is in place, the name-to-ID conversion stops being the problem and duplicate names become it. Pipedrive does not enforce unique organization names, so "Acme Corp", "Acme Corp." and "ACME Corp Ltd" can all coexist as separate records with separate deal histories. A workflow that takes items[0] silently attaches deals to whichever record the search happened to score highest that day, and the damage is invisible until someone runs a report.
Handle the three outcomes explicitly. Exactly one result is the happy path. Zero results is a decision you have to make up front: create the organization, or route the item to a review queue — letting it fall through to the create step is what produced the original error. More than one result needs a tiebreak on something stronger than the name, such as a domain or an account number held in a custom field, and anything that cannot be resolved that way belongs in front of a human.
Where you control the upstream system, the durable fix is to stop matching on names at all. Store the Pipedrive organization ID against your own record the first time you resolve it, and use that ID on every subsequent run. One search per new organization is cheap; one search per deal, matched fuzzily on a name, is a data-quality incident waiting for enough volume.
The same ID-not-label pattern shows up on Pipedrive custom fields too
This is not limited to the Organization and Person fields specifically — Pipedrive custom fields of type "organization" or "person" (a custom field that links to another record rather than storing plain text) follow the identical expectation: the field's value must be the linked record's numeric ID, not its display name, even though the field's UI presentation in Pipedrive's own interface shows the readable name. If a workflow is populating a custom relationship-type field rather than the built-in Organization or Person field on a deal, apply the same search-then-resolve-to-ID pattern described above rather than assuming custom fields behave differently from the built-in ones.
Checklist before assuming Pipedrive rejected a valid organization
- Organization resolved to its numeric ID via the search endpoint, not passed as a name string.
- Person field checked for the same ID-vs-name requirement if it is also populated from a name.
- Multiple same-named organizations ruled out, or explicitly disambiguated, before trusting the first search result.
- API version (v1 vs v2) of the endpoint being called confirmed to match the field shape the node or HTTP Request actually sends.
- Workflow's behavior on a name with no matching organization decided explicitly, rather than left to fail unhandled in production.
- Person field on the same node checked for the identical name-vs-ID requirement whenever both fields are populated from name strings in the same run.
The same rule applies to every "Name or ID" parameter
Once you have seen this once, it is worth auditing the rest of the workflow for the same pattern, because resource locators are everywhere in n8n and they all behave identically. On the Pipedrive nodes alone that includes the Person field, the Owner or User field, the Pipeline and Stage fields on a deal, and any custom field of type person, organization, or user. Each accepts a numeric ID at runtime and each shows a friendly name in the editor.
The failure only appears when the parameter is switched to an expression, which is why it tends to surface during the move from a hand-built prototype to a data-driven workflow rather than during the build. A workflow that worked perfectly while you were clicking values out of dropdowns starts failing the moment the same values arrive from a webhook or a spreadsheet.
The audit is quick: open each Pipedrive node, look for parameters whose value is an expression rather than a picked entry, and confirm each one resolves to a numeric ID before it is sent. Where it does not, add the same search-then-resolve step. Doing all of them at once is considerably faster than fixing them one error at a time over the following week.
Sources checked for this guide
The community report below documents this exact field-value error against a Pipedrive organization that exists in the account; the search endpoint is Pipedrive's own documented API.
Frequently asked questions
The organization definitely exists in Pipedrive — why is the name rejected?
This field's actual accepted format is narrower than its label suggests for this node version — it expects the numeric organization ID, not the display name, even though the label says "Name or ID."
How do I get the organization's numeric ID inside the workflow?
Add a Pipedrive Search or Get Many organizations step before the create/update step, filter by the name you have, and pass the returned numeric id field forward instead of the name string.
Does the same problem affect the Person field on the same node?
Yes — Person Name or ID follows the identical pattern. If you are populating both fields from name strings, resolve both to numeric IDs via a search step before the create/update call.
What if two organizations in Pipedrive have the same name?
Handle that explicitly — check whether the search returns more than one result and decide how to disambiguate (an extra matching field, or routing to manual review) rather than assuming the first result is correct.
It works when I pick the organization from the dropdown but not from an expression.
The dropdown is a resource locator: picking an entry stores its numeric ID behind a readable caption. An expression skips that resolution and sends its literal value, so a name string reaches the API unconverted and is rejected.
What should the workflow do when the search returns two organizations?
Never take the first result. Tiebreak on something stronger than the name — a domain or account number in a custom field — and route anything still ambiguous to a review branch. Pipedrive does not enforce unique organization names.