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

# Send Reply to Thread

> Reply to the most recent inbox message in a Gmail thread.

The **Send Reply to Thread** action takes a Gmail thread ID, finds the most
recent message in that thread carrying the `INBOX` label, and replies to it.
Use it when your workflow tracks conversations rather than individual messages.

## Inputs

| Input                   | Type                   | Required | Description                                                    |
| ----------------------- | ---------------------- | -------- | -------------------------------------------------------------- |
| **Third-party account** | Google account         | Yes      | Gmail account that sends the reply.                            |
| **Thread ID**           | String                 | Yes      | Gmail conversation ID.                                         |
| **Reply All**           | Boolean                | No       | Include original `To` and `CC` recipients except this account. |
| **Body**                | String                 | Yes      | Reply content.                                                 |
| **Body Type**           | `Plain Text` or `HTML` | No       | Body encoding. Defaults to **Plain Text**.                     |
| **Attachments**         | List of files          | No       | Files to attach.                                               |

## Outputs

| Output               | Type   | Description                 |
| -------------------- | ------ | --------------------------- |
| **Reply Message ID** | String | Gmail ID of the sent reply. |

<Note>
  The target is the newest inbox message in the thread, not necessarily the
  newest message of any kind. A thread containing only sent messages cannot be
  used by this action.
</Note>

## Example: continue a stored conversation

```text theme={null}
Load customer Thread ID
  → Gmail: Send Reply to Thread
  → Store Reply Message ID
```

## Troubleshooting

<AccordionGroup>
  <Accordion title="No messages found in thread">
    The thread must contain at least one message with Gmail's `INBOX` label. Use
    **Send Reply** with a specific Message ID when you already know the message
    to answer.
  </Accordion>
</AccordionGroup>
