# Create Forum Thread

> Create a thread in a forum channel.

- ID: `create_forum_thread`
- Type: Block
- Category: [Threads](https://inventor.bot/docs/reference/blocks/threads.md)

**Inputs**

| Name | Required | Description | Value |
| --- | --- | --- | --- |
| `channel_id` | yes | ID of the channel to create the thread in. |  |
| `thread_name` | yes | Name of the thread. |  |
| `thread_content` | yes | Content of the thread. |  |
| `allow_mentions` |  | Choose which mention types should notify users. Empty only pings users; None disables all pings. None overrides other selections. Unselected mentions are displayed without pinging. | `"None"`, `"Everyone/Here"`, `"Roles"`, `"Users"` |
| `archive_duration` |  | Duration to archive the thread after. | `"1 Hour"`, `"24 Hours"`, `"3 Days"`, `"1 Week"` |

**Outputs**

| Name | Description | Value |
| --- | --- | --- |
| `thread_id` | ID of the created thread. |  |

**Example**

```go
forumThread := create_forum_thread(Args{
	channel_id:     trigger.channel_id,
	thread_name:    "...",
	thread_content: "...",
})
send_text_message(Args{
	channel_id:      trigger.channel_id,
	message_content: "Thread ID: " + forumThread.thread_id,
})
```