> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fliiq.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Delivery

> Send job results via email, SMS, or Telegram

Jobs can deliver their results through communication channels. Configure delivery in the job YAML.

## Email

```yaml theme={null}
delivery:
  type: email
  to: you@example.com
```

Sends the job's final output as an email via Gmail SMTP. Requires `GMAIL_ADDRESS` and `GMAIL_APP_PASSWORD` in `.env`.

## SMS

```yaml theme={null}
delivery:
  type: sms
  to: "+1234567890"
```

Sends a text message via Twilio. Requires `TWILIO_ACCOUNT_SID`, `TWILIO_AUTH_TOKEN`, and `TWILIO_PHONE_NUMBER` in `.env`.

## Telegram

```yaml theme={null}
delivery:
  type: telegram
  chat_id: "123456789"
```

Sends a Telegram message via Bot API. Requires `TELEGRAM_BOT_TOKEN` in `.env`.

For groups with **Forum Topics** enabled, have the agent call `send_telegram` directly with a `message_thread_id` to route notifications to a specific topic thread. See [Forum Topics](/channels/telegram#forum-topics) for details.

## No Delivery

If `delivery` is omitted, the job runs and saves its output to the run log. You can check results with:

```bash theme={null}
fliiq job output <name>     # Last run's full response
fliiq job logs <name>       # Run history with status
```

## Delivery + Job Memory

Delivery happens after the agent loop completes. The agent's final response text is what gets delivered. The agent can shape this — if the system prompt says "summarize in 3 bullet points," that's what gets emailed or texted.
