# Blocks Reference

To effectively build and customize your workflows, there are hundreds of blocks available, each serving a specific function to streamline your processes and enhance integration capabilities.

## Workflow Blocks Reference

<table><thead><tr><th width="266">Block Name</th><th>Purspose</th></tr></thead><tbody><tr><td><a href="/pages/G2p0NoAkPdlRS7EtijOy">Analyze Image Block</a></td><td>Uses AI to analyze the content of a provided image URL. Responses can be displayed to human or assigned to a variable.</td></tr><tr><td><a href="/pages/pbZX0MHG1W5iXHD3ruZU">Chat Block</a></td><td>Start a chat session with an AI agent.</td></tr><tr><td><a href="/pages/JJ8JR36aumLrY9ogL2Td">Display Content Block</a></td><td>Displays content to the user exactly as it is written. Can call variables.</td></tr><tr><td><a href="/pages/wj3gHp5iq46hTQfbt2N6">Extract Text from File Block</a></td><td>Extracts text from PDF, CSV, HTML, and TXT files</td></tr><tr><td><a href="/pages/gQebQIA6DguvbtCImXBi">Generate Text Block</a></td><td>Uses AI to generate text based on a prompt. Responses can be displayed to human or assigned to a variable.</td></tr><tr><td><a href="/pages/qWByOaiI2zrelCt4Lc82">Generate Image Block</a></td><td>Uses AI to generate an image based on a text prompt. Image URL is assigned to a variable.</td></tr><tr><td><a href="/pages/KOZvebGY42xTzkkh118p">Generate Chart Block</a></td><td>Generates a chart based on JSON Schema.</td></tr><tr><td><a href="/pages/2sZbX1byBhRkPFLJpMsP">Generate Video Block</a></td><td>Uses AI to generate a video based on a text prompt.</td></tr><tr><td><a href="/pages/mWPxWvsNeJnV91m2M4Qf">Jump Block</a></td><td>Routes the workflow directly into another discrete workflow in the same AI agent. Variables pass into the new workflow.</td></tr><tr><td><a href="/pages/UlsUWRZrI3k66BnJhGzM">Logic Block</a></td><td>Creates branching paths in a workflow. Routes the workflow based on AI selection.</td></tr><tr><td><a href="/pages/bejVXUTb1LybdHLcTlp0">Menu Block</a></td><td>Creates branching paths in a workflow. Routes the workflow based on human selection.</td></tr><tr><td><a href="/pages/KUWHyg2ZslZmY4bGOKaX">Post to Slack Block</a></td><td>Sends a message to a Slack channel</td></tr><tr><td><a href="/pages/rSEe3cMVya197NvVgqfV">Query Data Source Block</a></td><td>Queries a Data Source and returns relevant chunks of text. Returned text is assigned to a variable.</td></tr><tr><td><a href="/pages/s6rkmfcPCsklrVGBc6Tz">Query Database</a></td><td>Queries an external database (postgres, mysql, supabase, etc)</td></tr><tr><td><a href="/pages/xV42ByJkGdyi2BVkFLqQ">Run Function Block</a></td><td>Executes JavaScript code. Configurations and outputs will vary.</td></tr><tr><td><a href="/pages/c0gBNBai6O0Excu04wN0">Run Workflow Block</a></td><td>Runs a sub-workflow. Variables can be passed through the workflow as Launch Variables. Returns the output of the workflow.</td></tr><tr><td><a href="/pages/egghUqiZmT0k3oEG21ZX">Scrape URL Block</a></td><td>Uses a web scraper to gather text from a URL. Returned text is assigned to a variable.</td></tr><tr><td><a href="/pages/b3JRBr9w0efVzIfDnYY8">Set Run Title</a></td><td>Update the title in the user's run history</td></tr><tr><td><a href="/pages/QmIh24u5k9Se31aPg6TE">Start Block</a></td><td>Initializes the Workflow. Every Workflow includes a Start Block that cannot be deleted.</td></tr><tr><td><a href="#terminator-blocks">Terminator Block</a></td><td>Ends the workflow. Can be configured with different end behaviors such as a front-end chat interface, email notification, and more.</td></tr><tr><td><a href="/pages/ovXSIkYVmRoxBB2edQya">Text to Speech Block</a></td><td>Uses AI to generates a voice-over audio file that matches the provided text. Audio URL is assigned to a variable.</td></tr><tr><td><a href="/pages/u3j2IBIFKNYlHTWVmyPR">Transcribe Audio Block</a></td><td>Uses AI to transcribe an audio file. The transcription to assigned to a variable.</td></tr><tr><td><a href="/pages/lynC4lv1QxCCvtp1VzWo">User Input Block</a></td><td>Displays user inputs in a single-page form to gather context for the AI. Values from human inputs are assigned to variables.</td></tr></tbody></table>

{% embed url="<https://youtu.be/KNtIG6NdPMw>" %}

Integrations in MindStudio connect various apps and services to your workflows. You can find all kinds of integrations by adding new blocks in the [automations](/docs/building-ai-agents/blocks-reference.md) tab.

## Integration Blocks Reference

### Social Media Blocks

| Block Name                                                                                              | Purpose                                  |
| ------------------------------------------------------------------------------------------------------- | ---------------------------------------- |
| [Create LinkedIn Post](/docs/building-ai-agents/blocks-reference/create-linkedin-post.md)               | Make a new post on LinkedIn              |
| [Create X Post](/docs/building-ai-agents/blocks-reference/create-x-post.md)                             | Make a new post on X                     |
| [Search Bluesky Posts](/docs/building-ai-agents/blocks-reference/search-bluesky-posts.md)               | Search for posts on Bluesky              |
| [Search X Posts](/docs/building-ai-agents/blocks-reference/search-x-posts.md)                           | Search for posts on X by keyword         |
| [Scrape Facebook Page](/docs/building-ai-agents/blocks-reference/scrape-facebook-page.md)               | Get general details of a Facebook page   |
| [Scrape LinkedIn Profile](/docs/building-ai-agents/blocks-reference/scrape-linkedin-profile.md)         | Get LinkedIn Profile Data                |
| [Scrape LinkedIn Company](/docs/building-ai-agents/blocks-reference/scrape-linkedin-company.md)         | Get LinkedIn Company Data                |
| [Scrape Instagram Comments](/docs/building-ai-agents/blocks-reference/scrape-instagram-comments.md)     | Get Comments data from an Instagram post |
| [Scrape Instagram Mentions](/docs/building-ai-agents/blocks-reference/scrape-instagram-mentions.md)     | Get data from mentions on Instagram      |
| [Scrape Instagram Posts](/docs/building-ai-agents/blocks-reference/scrape-instagram-posts.md)           | Get posts from an Instagram profile      |
| [Scrape Instagram Profile](/docs/building-ai-agents/blocks-reference/scrape-instagram-profile.md)       | Get data from an Instagram profile       |
| [Scrape Instagram Reels](/docs/building-ai-agents/blocks-reference/scrape-instagram-reels.md)           | Get reels from an Instagram profile      |
| [Scrape Meta Threads Profile](/docs/building-ai-agents/blocks-reference/scrape-meta-threads-profile.md) | Get data from a Meta Threads profile     |
| [Scrape X Post](/docs/building-ai-agents/blocks-reference/scrape-x-post.md)                             | Get X Post Data                          |
| [Scrape X Profile](/docs/building-ai-agents/blocks-reference/scrape-x-profile.md)                       | Get X Post Profile                       |

### Google Blocks

| Block Name                                                                                                  | Purpose                                   |
| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------- |
| [Create Google Doc](/docs/building-ai-agents/blocks-reference/create-google-doc.md)                         | Create a new Google Doc document          |
| [Create Google Sheet](/docs/building-ai-agents/blocks-reference/create-google-sheet.md)                     | Create a new Google Sheet document        |
| [Create Calendar Event](/docs/building-ai-agents/blocks-reference/create-calendar-event.md)                 | Create a new Google Calendar event        |
| [Delete Calendar Event](/docs/building-ai-agents/blocks-reference/delete-calendar-event.md)                 | Delete a Google Calendar event            |
| [Fetch Google Doc](/docs/building-ai-agents/blocks-reference/fetch-google-doc.md)                           | Retrieve content from a Google Doc        |
| [Fetch Google Sheet](/docs/building-ai-agents/blocks-reference/fetch-google-sheet.md)                       | Retrieve content from a Google Sheet      |
| [Get Calendar Event](/docs/building-ai-agents/blocks-reference/get-calendar-event.md)                       | Retrieve a Google Calendar event          |
| [List Upcoming Calendar Events](/docs/building-ai-agents/blocks-reference/list-upcoming-calendar-events.md) | List upcoming Google Calendar events      |
| [Search Google](/docs/building-ai-agents/blocks-reference/search-google.md)                                 | Retrieve Google search results            |
| [Search Google Images](/docs/building-ai-agents/blocks-reference/search-google-images.md)                   | Retrieve Google Image search results      |
| [Search Google Trends](/docs/building-ai-agents/blocks-reference/search-google-trends.md)                   | Retrieve Google Trends keyword results    |
| [Search Google News](/docs/building-ai-agents/blocks-reference/search-google-news.md)                       | Retrieve Google News search results       |
| [Update Calendar Event](/docs/building-ai-agents/blocks-reference/update-calendar-event.md)                 | Update a Google Calendar event            |
| [Update Google Doc](/docs/building-ai-agents/blocks-reference/update-google-doc.md)                         | Update values of an existing Google Doc   |
| [Update Google Sheet](/docs/building-ai-agents/blocks-reference/update-google-sheet.md)                     | Update values of an existing Google Sheet |

### Hunter.io Blocks

| Block Name                                                                                          | Purpose                            |
| --------------------------------------------------------------------------------------------------- | ---------------------------------- |
| [Enrich Company via Domain](/docs/building-ai-agents/blocks-reference/enrich-company-via-domain.md) | Enrich company data using a domain |
| [Enrich Person via Email](/docs/building-ai-agents/blocks-reference/enrich-person-via-email.md)     | Enrich person's data via email     |
| [Find Contact Email for Website](/docs/building-ai-agents/blocks-reference/find-email.md)           | Find emails for a given website    |
| [Find Email](/docs/building-ai-agents/blocks-reference/find-email.md)                               | Find a person's email for a domain |
| [Verify Email](/docs/building-ai-agents/blocks-reference/verify-email.md)                           | Verify a person's email address    |

### YouTube Blocks

| Block Name                                                                                    | Purpose                                   |
| --------------------------------------------------------------------------------------------- | ----------------------------------------- |
| [Fetch YouTube Captions](/docs/building-ai-agents/blocks-reference/fetch-youtube-captions.md) | Fetch captions from a YouTube video       |
| [Fetch YouTube Channel](/docs/building-ai-agents/blocks-reference/fetch-youtube-channel.md)   | Fetch details from a YouTube channel      |
| [Fetch YouTube Comments](/docs/building-ai-agents/blocks-reference/fetch-youtube-comments.md) | Fetch all comments from a YouTube video   |
| [Fetch YouTube Video](/docs/building-ai-agents/blocks-reference/fetch-youtube-video.md)       | Fetch details from a YouTube video        |
| [Search YouTube](/docs/building-ai-agents/blocks-reference/search-youtube.md)                 | Retrieve YouTube search results           |
| [Search YouTube Trends](/docs/building-ai-agents/blocks-reference/search-youtube-trends.md)   | Search for trends by a specified category |

### Notion Blocks

| Block Name                                                                                   | Purpose                 |
| -------------------------------------------------------------------------------------------- | ----------------------- |
| [Create Page](https://help.mindstudio.ai/building-ai-agents/integrations/create-notion-page) | Create a page in Notion |
| [Update Page](/docs/building-ai-agents/blocks-reference/update-notion-page.md)               | Update a page in Notion |

### Coda Blocks

| Block Name                                                                                           | Purpose                              |
| ---------------------------------------------------------------------------------------------------- | ------------------------------------ |
| [Create/Update Page](/docs/building-ai-agents/blocks-reference/create-update-coda-page.md)           | Create or update a page on Coda      |
| [Create/Update Table Row](/docs/building-ai-agents/blocks-reference/create-update-coda-table-row.md) | Create or update a table row on Coda |
| [Get Table Rows](/docs/building-ai-agents/blocks-reference/get-coda-table-rows.md)                   | Get Rows from a table on Coda        |
| [Get Page](/docs/building-ai-agents/blocks-reference/get-coda-page.md)                               | Read page from a Coda document       |
| [Find Table Row](/docs/building-ai-agents/blocks-reference/find-coda-table-row.md)                   | Find a table row on Coda             |

### Airtable Blocks

| Block name                                                                                         | Purpose                                |
| -------------------------------------------------------------------------------------------------- | -------------------------------------- |
| [Get Table Records](/docs/building-ai-agents/blocks-reference/get-airtable-table-records.md)       | Get records from an Airtable table     |
| [Create/Update Record](/docs/building-ai-agents/blocks-reference/create-update-airtable-record.md) | Create or update a record on Airtable  |
| [Get Record](/docs/building-ai-agents/blocks-reference/get-airtable-record.md)                     | Get a record from an Airtable table    |
| [Delete Record](/docs/building-ai-agents/blocks-reference/delete-airtable-record.md)               | Delete a record from an Airtable table |

### HubSpot Blocks

| Block Name                                                                                          | Purpose                               |
| --------------------------------------------------------------------------------------------------- | ------------------------------------- |
| [Create/Update Contact](/docs/building-ai-agents/blocks-reference/create-update-hubspot-contact.md) | Create or update a contact in HubSpot |
| [Create/Update Company](/docs/building-ai-agents/blocks-reference/create-update-hubspot-company.md) | Create or update a company in HubSpot |
| [Get Contact](/docs/building-ai-agents/blocks-reference/get-hubspot-contact.md)                     | Get a contact from HubSpot            |
| [Get Company](/docs/building-ai-agents/blocks-reference/get-hubspot-company.md)                     | Get a company from HubSpot            |

### Other Automations

| Block Name                                                                                                    | Purpose                                     |
| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------- |
| [Add Note (ActiveCampaign)](/docs/building-ai-agents/blocks-reference/add-note-activecampaign.md)             | Add a note to a contact in ActiveCampaign   |
| [Create Contact (ActiveCampaign)](/docs/building-ai-agents/blocks-reference/create-contact-activecampaign.md) | Create a contact in ActiveCampaign          |
| [HTTP Request](/docs/building-ai-agents/blocks-reference/http-request.md)                                     | Send an HTTP request                        |
| [Fetch Slack History](/docs/building-ai-agents/blocks-reference/fetch-slack-history-block.md)                 | Retrieve messages from a Slack channel      |
| [Post to Slack](/docs/building-ai-agents/blocks-reference/post-to-slack.md)                                   | Send a message to a specified Slack channel |
| [Run Node (n8n)](/docs/building-ai-agents/blocks-reference/run-node-n8n.md)                                   | Trigger an n8n workflow                     |
| [Run Scenario (Make)](/docs/building-ai-agents/blocks-reference/run-scenario-make.md)                         | Run a specified scenario on Make.com        |
| [Send Email](/docs/building-ai-agents/blocks-reference/send-email.md)                                         | Send an email to a registered email address |
| [Send SMS](/docs/building-ai-agents/blocks-reference/send-sms.md)                                             | Send an SMS to a valid phone number         |
| [Zapier Webhook](/docs/building-ai-agents/blocks-reference/zapier-webhook.md)                                 | Trigger and send data to a Zap in Zapier    |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://university.mindstudio.ai/docs/building-ai-agents/blocks-reference.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
