> 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.twist.md).

# Twist

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

Use the Twist node to automate work in Twist, and integrate Twist with other applications. n8n has built-in support for a wide range of Twist features, including creating conversations in a channel, as well as creating and deleting comments on a thread.

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

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

Refer to [Twist credentials](/integrations/builtin/credentials/twist.md) for guidance on setting up authentication.
{% 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>

* Channel
  * Archive a channel
  * Initiates a public or private channel-based conversation
  * Delete a channel
  * Get information about a channel
  * Get all channels
  * Unarchive a channel
  * Update a channel
* Comment
  * Create a new comment to a thread
  * Delete a comment
  * Get information about a comment
  * Get all comments
  * Update a comment
* Message Conversation
  * Create a message in a conversation
  * Delete a message in a conversation
  * Get a message in a conversation
  * Get all messages in a conversation
  * Update a message in a conversation
* Thread
  * Create a new thread in a channel
  * Delete a thread
  * Get information about a thread
  * Get all threads
  * Update a thread

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

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

### What to do if your operation isn't supported <a href="#what-to-do-if-your-operation-isnt-supported" id="what-to-do-if-your-operation-isnt-supported"></a>

If this node doesn't support the operation you want to do, you can use the [HTTP Request node](/integrations/builtin/core-nodes/n8n-nodes-base.httprequest.md) to call the service's API.

You can use the credential you created for this service in the HTTP Request node:

1. In the HTTP Request node, select **Authentication** > **Predefined Credential Type**.
2. Select the service you want to connect to.
3. Select your credential.

Refer to [Custom API operations](/integrations/builtin/custom-api-actions-for-existing-nodes.md) for more information.

## Get the User ID <a href="#get-the-user-id" id="get-the-user-id"></a>

To get the User ID for a user:

1. Open the **Team** tab.
2. Select a user's avatar.
3. Copy the string of characters located after `/u/` in your Twist URL. This string is the User ID. For example, if the URL is `https://twist.com/a/4qw45/people/u/475370` the User ID is `475370`.
