# Audit Log Entry Created

> Triggers when an audit log entry is created.

- ID: `audit_log_entry_created`
- Type: Event trigger
- Category: [Servers](https://inventor.bot/docs/reference/triggers/servers.md)

> Action Type ID is a numeric identifier for the audit log action.

**Outputs**

| Name | Description | Value |
| --- | --- | --- |
| `action_type_id` | Numeric audit log action type | e.g. `"20"` |
| `server_id` | The ID of the server where the audit log entry was created | e.g. `"123456789012345678"` |
| `target_id` | The ID of the target entity of the audit log entry | e.g. `"234567890123456789"` |
| `user_id` | The ID of the user who performed the action | e.g. `"345678901234567890"` |
| `entry_id` | The ID of the audit log entry | e.g. `"456789012345678901"` |
| `reason` | The reason provided for the action, if any | e.g. `"Routine cleanup"` |
| `raw_json` | Raw audit log entry JSON payload | e.g. `"{\"action_type\":20}"` |

**Example**

```go
var trigger = audit_log_entry_created()

func main() {
	send_text_message(Args{
		channel_id:      "CHANNEL_ID",
		message_content: "Action Type ID: " + trigger.action_type_id,
	})
}
```