Back to guide/General Productivity

Batch Processing Prompt

Independent processing with per-item status prevents cascading failures. The review_needed status handles edge cases gracefully without blocking the batch.

ai-automation-workflowsitem_countoperation_descriptionitems_list
Edit View
Prompt
Process the following batch of {{item_count}} items. Apply the same operation to each item independently.\n\nOperation: {{operation_description}}\n\nItems:\n{{items_list}}\n\nRules:\n- Process each item independently — a failure on one item should not affect others\n- For each item, return: { "id": "item_id", "status": "success | error", "result": "output or error message" }\n- After processing all items, provide a summary:\n  - Total processed: X\n  - Successful: X\n  - Failed: X (list the failed IDs and reasons)\n  - Average processing note: any patterns observed\n\nIf any item is ambiguous, process it with your best interpretation and flag it with "status": "review_needed".

Variables to customize

{{item_count}}{{operation_description}}{{items_list}}

Why this prompt works

Independent processing with per-item status prevents cascading failures. The review_needed status handles edge cases gracefully without blocking the batch.

Save this prompt to your library

Organize, version, and access your best prompts across ChatGPT, Claude, and Cursor.