# Generate UUIDv4

> Generate a UUIDv4 (fully-random).

- ID: `generate_uuid`
- Type: Block
- Category: [Strings](https://inventor.bot/docs/reference/blocks/strings.md)

> UUIDv4 IDs are fully-random.

- Value block: it can be used directly inside expressions, e.g. `"Result: " + generate_uuid(Args{...})`.

**Outputs**

| Name | Description | Value |
| --- | --- | --- |
| `uuid` | Generated UUIDv4. | e.g. `"123e4567-e89b-12d3-a456-426614174000"` |

**Example**

```go
uuid := generate_uuid()
send_text_message(Args{channel_id: trigger.channel_id, message_content: "UUID: " + uuid})
```