# retry_failed_rows

> Send the failed rows of a send_template_bulk batch again, as the app's "Retry failed": each goes back in the queue with fresh attempts and is sent in the background (poll get_bulk_batch).

Tool of the AppliFlo MCP server at `https://appliflo.com/api/mcp`. Kind: destructive: it emails people or cancels a send, so clients ask you first.

Send the failed rows of a send_template_bulk batch again, as the app's "Retry failed": each goes back in the queue with fresh attempts and is sent in the background (poll get_bulk_batch). Pass `row` to retry just that one. A row marked needs_fix (the email provider refused it or it bounced) is left out: retrying as is can't help, so change it with fix_bulk_row instead (asking for that row alone is refused, 409 needs_fix). Safe to repeat: a row already queued or sent is never touched and no envelope is sent twice. With nothing to retry it does nothing and says so (requeued: 0). This emails real people. Two steps: called WITHOUT confirm: true it does nothing and returns an error saying what it would do (the details are in structuredContent); show that to the user and, once they agree, call again with the same arguments and confirm: true.

## Inputs

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `batch_id` | string | yes | batch_id from send_template_bulk. Up to 64 characters |
| `row` | integer | no | Only this row (the number get_bulk_batch reports). Default: every failed row. 1 to 100000 |
| `confirm` | boolean | no | true to really do it. Without it nothing happens: you get an error describing what would happen, to show the user |
