# Thread Update

> Triggers when a thread is updated.

- ID: `thread_update`
- Type: Event trigger
- Category: [Threads](https://inventor.bot/docs/reference/triggers/threads.md)

**Outputs**

| Name | Description | Value |
| --- | --- | --- |
| `thread_id` | ID of the thread that was updated. | e.g. `"123456789012345678"` |
| `thread_name` | Name of the thread after the update. | e.g. `"general-thread"` |
| `server_id` | ID of the server where the thread was updated. | e.g. `"345678901234567890"` |
| `parent_id` | ID of the parent channel. | e.g. `"234567890123456789"` |

**Example**

```go
var trigger = thread_update()

func main() {
	send_text_message(Args{
		channel_id:      "CHANNEL_ID",
		message_content: "Thread ID: " + trigger.thread_id,
	})
}
```