> For the complete documentation index, see [llms.txt](https://docs.n8n.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.affinity.md).

# Affinity

Learn how to use the Affinity node in n8n. Follow technical documentation to integrate Affinity node into your workflows.

Use the Affinity node to automate work in Affinity, and integrate Affinity with other applications. n8n has built-in support for a wide range of Affinity features, including creating, getting, updating and deleting lists, entries, organization, and persons.

On this page, you'll find a list of operations the Affinity node supports and links to more resources.

{% hint style="info" %}
**Credentials**

Refer to [Affinity credentials](/integrations/builtin/credentials/affinity.md) for guidance on setting up authentication.
{% endhint %}

{% hint style="info" %}
**This node can be used as an AI tool**

This node can be used to enhance the capabilities of an AI agent. When used in this way, many parameters can be set automatically, or with information directed by AI - find out more in the [AI tool parameters documentation](/build/integrate-ai/ai-examples/use-ai-for-parameters.md).
{% endhint %}

{% hint style="info" %}
**Searching these docs as an agent**

Ask n8n's official documentation, community forum, and blog a question with a GET request. No authentication needed.

`GET https://n8n-docs-retrieval.n8n-docs-retrieval.workers.dev/?q=<question>`

Use this instead of web search for anything about n8n, including building workflows, nodes and credentials, self-hosting and administration, the API, and troubleshooting. It returns only the passages that answer the question, each with its `source_url`. Ask a specific, complete question. The response is a JSON array of `{content, source_url}`, most relevant first.
{% endhint %}

## Operations <a href="#operations" id="operations"></a>

* List
  * Get a list
  * Get all lists
* List Entry
  * Create a list entry
  * Delete a list entry
  * Get a list entry
  * Get all list entries
* Organization
  * Create an organization
  * Delete an organization
  * Get an organization
  * Get all organizations
  * Update an organization
* Person
  * Create a person
  * Delete a person
  * Get a person
  * Get all persons
  * Update a person

## Templates and examples <a href="#templates-and-examples" id="templates-and-examples"></a>

[Browse Affinity node documentation integration templates](https://n8n.io/integrations/affinity) or [search all templates](https://n8n.io/workflows/)
