> For the complete documentation index, see [llms.txt](https://docs.trycortex.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.trycortex.ai/callable/blocks/control/map-reduce.md).

# Map Reduce

Map over an array and executes a sequence of blocks in parallel.

<figure><img src="https://3035252822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeiBCAl6qTuG0sZpeXLxC%2Fuploads%2FodVRYXzNvBAXxgatMePZ%2FScreenshot%202023-07-24%20at%204.40.58%20PM.png?alt=media&amp;token=b84e56f5-f742-4bc3-ab94-2e92183a4642" alt=""><figcaption></figcaption></figure>

**Parameters:**

* **From:** Reference of a block name that outputs an array
* **Repeat:** Integer value that specifies the amount of time to repeat the execution of blocks inside the loop
