> For the complete documentation index, see [llms.txt](https://products.monterosa.co/mic/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://products.monterosa.co/mic/developer-guide/content-automation.md).

# AI & Automation

How to automate the creation of content in the platform using AI and other workflows

Almost everything you can do in Studio can be controlled via the [Control API](/mic/control-api/overview.md).

You can also create [Mica Workflows](/mic/developer-guide/content-automation/how-to-build-a-mica-workflow.md) — backend services that power interactive AI assistants directly inside Studio's sidebar. The Mica Workflow protocol is currently in beta; contact your Monterosa account manager to discuss your use case.

You may want to use your preferred scripting language: Python, Node.js or shell scripts. However, we recommend [Zapier](/mic/developer-guide/content-automation/connecting-to-zapier.md) or [n8n.io](https://n8n.io/) for low code automations and our official Monterosa n8n node is due to be released soon.

## **What can I achieve with automation?**

Some example outcome scenarios:

1. Automate the generation of trivia games
2. Use AI processing to edit or adapt images - removing or pixellating a player's face for example
3. Bulk ingest quiz questions from a Google Sheet to Studio
4. Connect to automation tools such as n8n or Zapier and use RSS feeds to create polls with OpenAI
5. Use sports fixture data to auto-create predictions
6. Create a plug-in for your CMS so that you can create new Polls without the user logging into Monterosa / Studio

In this guide we'll focus on rules-based automation and you'll learn how to create Events, Elements and programmatically control your Projects. We will also cover how to ingest data into the Asset Library dynamically.

## How does programmatic automation work?

Automation is achieved primarily using the [Control API](/mic/control-api/overview.md), a backend API that gives you access to most functions you can achieve in Studio.

You can use almost any tool to create automations. Some of our favourites are [Zapier](/mic/developer-guide/content-automation/connecting-to-zapier.md), [Google Sheets & Scripts](/mic/creator-guide/spaces/automation.md) and Node.js.

If you really wanted to, you could even have iOS Shortcuts automate actions in the platform, but that one's on you.

## What does the API let me do?

Control API allows you to do things such as:

* [Create a new Project](/mic/control-api/projects/create-project.md)
* [Create new Event with settings](/mic/control-api/events/create-event.md)
* [Trigger an Event to start and stop](/mic/control-api/events.md)
* [Create new Element ](/mic/control-api/elements/create-element.md)with content such as a Prediction
* [Revoke an Element](/mic/control-api/elements/update-element.md)
* [Upload an Image](/mic/control-api/assets.md) to the Asset Library
* [Create an Event Template](/mic/control-api/event-templates.md)
* [Get the URL for an Event](/mic/control-api/events/get-events.md) and trigger another system to publish it
* [Change styling settings](/mic/creator-guide/projects/project-settings.md)

When you put the actions together you can achieve complex and powerful outcomes using whatever your preferred method of automation might be.

Learn more about:

* [Discovering Events](/mic/developer-guide/content-automation/discovering-events.md)
* [Connecting to Google Sheets](/mic/developer-guide/content-automation/connecting-to-google-sheets.md)
* [Connecting to Zapier](/mic/developer-guide/content-automation/connecting-to-zapier.md)
* [Connecting to Sports Feeds](/mic/developer-guide/content-automation/connecting-to-sports-feeds.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://products.monterosa.co/mic/developer-guide/content-automation.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
