Skip to content

AI Automation

AI Automation applies the same instructions to many scenes, characters, or episodes and acts, one at a time. Set the lighting of every scene. Write a note about every character. Translate the dialogue of the whole screenplay. You write the instructions once, and Scrite hands them to an AI for each one.

The Automate dialog, with scenes chosen and instructions typed in

It is for jobs that are the same for every one of them, and that you would otherwise do by hand, scene after scene. Here are some.

  • Lighting, props, locations or mood. Set them for every scene, as Attributes, so that you can look at them together.
  • Set design notes for each scene, or a continuity note.
  • A profile for every character, written as a note on their page.
  • A look at every act or episode, with a note on what it needs.
  • Dialogue. Translate it, or change its register, for every scene.

Each one is handled by an AI of its own, which is shown that one scene, character or break, and can read the rest of the screenplay only through tools, the things that the AI is allowed to do, such as read a scene or add a note. See What the AI Can Do With Your Screenplay.

NOTE: Changes are made at once, without asking you about each of them. That is what makes it quick. Clicking Start is your confirmation. Read What It May Change before you run it on the whole screenplay.

Before You Begin

  • An AI provider has to be set up. See Getting Started. Choose a model that lists tools under its abilities, because the AI of each task works through tools. See Choosing the Right Model.
  • The document must not be read-only. Automation changes your screenplay.
  • Nothing else may be running. There is one automation at a time, and none while another AI task, such as a story summary, is running. The action is greyed out until it is done.
  • It makes at least one request for every one it works on. A hundred scenes mean a hundred or more requests. On a cloud provider, that costs money and takes a while. On a local model, it takes time. See Cost, Speed and Privacy, and the Call Log, which shows what each one used.
  • Try it on one first. Choose the current scene, or a single character, and look at what comes of it. If you are happy, run it on the rest.
  • Save a copy of your document first. It is a good habit before any change in bulk.

Starting It

There are three ways to start, and all of them open the same Automate dialog.

  • From the menu. Choose AI → AI Utilities → Automation. Like the other actions, you can give it a keyboard shortcut of your choice.
  • From a context menu. Right-click a scene in the screenplay editor, and choose AI Automation. It is in the scene's menu too. Right-click an act or an episode break, and choose AI Automation there. It is not offered for an interval break. The dialog opens with what you started from already chosen: the selected scenes, or else the current scene, or that act or episode.
  • From AI Chat. The AI can offer it, and open the dialog for you, with everything filled in. See Starting It From AI Chat.

The Automate Dialog

The dialog is a set of boxes, from the top down.

Apply to

Choose what the instructions are for.

  • Scenes. Then choose All of them (the dialog says how many), the current scene, or the selected scenes. The current and selected ones are greyed out unless you have a current scene, or have selected some. When the AI Chat asked for the run, one more choice is there, the scenes that it asked for, and it is chosen to begin with.
  • Characters. Click to choose characters, one at a time. If you choose none, it is applied to all of them.
  • Episodes and Acts. Tick the ones you want. If you tick none, it is applied to all of them. A screenplay with no episodes or acts has none to choose.

What to do to each one

Write the instructions, in plain words, as you would to an assistant. The more exactly you say what to do, what to look at, and where to write what it finds, the better the result. For example:

Set the lighting of this scene as attributes, in a category called Lighting.

  • Refer to things in your Notebook. Type @ and choose a note or a scene, to point at it, as in AI Chat. A style guide that you keep as a note is a good thing to refer to, so every one is written the same way. See Referring to Your Screenplay.
  • Say where to write. If you want the result as an attribute, a note, or a field, say which, and what to call it. Each one sees only itself, and doesn't know what you did to the one before.
  • Keep it short, and exact. See Document Instructions for what the AI is told about your story in any case.

If the option Understand the instructions once for all of them first is there, tick it, to have Scrite work out once what your instructions ask for, and give that to the AI of every one, before any of them starts. It is only there when it can be used.

What It May Change

Each AI can read the whole screenplay, but it can change only the one it is working on: the scene, the character, or the act or episode. A change to anything else is refused, and the run reports it as a problem. Changes are made at once, without asking about each of them.

The box also says which tools the AI is given, in a line such as 9 of 12 tools selected, 4 of them can change things. By default, each one is given the tools that suit its kind, such as those for notes and attributes, and for a scene, its colour. Click the gear button next to it, to open Tools, and choose for yourself.

The Tools dialog, listing tools marked Reads or Changes

  • Every tool is marked Reads, which only looks, or Changes, which changes something.
  • The tools are in groups, and you can search them by name or description.
  • Select All and Unselect All do what they say. Untick a tool that changes something, if you don't want the AI to be able to do that. Done keeps your choice.

Under the box, a note says that before the text of a scene is changed, a copy of it is saved in the scene as a read-only text attachment. You can delete it in the Notebook when you no longer need it. It is your way back, if you don't like what came of it.

The options

At the bottom are the options that every workflow has, such as how many tasks run at once, and how many times a failed task is tried again. The model is not one of them. It comes from the provider settings, or from AI Connectors, where automations that work on scenes, characters, acts, episodes and intervals are each a usecase, so each can have a provider and model of its own. See Options Common to Every Workflow. When you are ready, click Start. It is greyed out until you have written the instructions, and until there is something to apply them to.

While It Runs

The progress window opens, with a row for each one, as for every workflow. See The Task Progress Window. Each row says in a few words what that task is doing.

  • Abort at any time. Changes already made stay, and the rest are not made.
  • Everything is logged. Each call is in the Call Log, with the one it was for, so that you can see what the AI was given, and what it did. If you ran it on a hundred scenes, you can look at any one of them.
  • A problem is reported. A change that the AI was not allowed to make, or that could not be made, is reported as a problem. A task that fails is tried again, up to the number of retries you set.

Checking the result

Open the things that you changed, and look. For scenes, look at the scene's page in the Notebook, and at its text. For characters, look at the character's page. If you asked for attributes, or notes, they are there, as ordinary notes and attributes that you can edit or delete like any other.

Starting It From AI Chat

If you ask AI Chat for a job that is the same on many scenes, characters or breaks, such as Set the lighting of every scene, the AI can offer to do it as an automation. It does it on one first, so that you can see what it comes to, and then asks you, with a question card, whether to do the rest that way.

You can also lead it yourself, and it is the safest way to work. Ask the chat to do the job on one scene, or a few, pointing at them with @, and approve what it proposes in the Pending Edits window. Correct it until it is right. Then ask it to run an automation, and say which scenes, such as Run an automation to do the same on all the other scenes in Act 2. Use the word automation, so that the chat knows which of its tools you mean. It offers to run the job as an automation, with the instructions that worked. In a chat, every change waits for your approval, and in an automation, it doesn't, so trying it by hand first is how you know what you are about to run. See Do It Once, Then Do It Everywhere.

If you say yes, the Automate dialog opens with everything filled in: what to apply it to, the scenes it picked, the instructions, and the tools. The tools box says Chosen by the AI chat, and lists them. You can change any of it, the instructions too, before you click Start. Clicking Start is the confirmation. If you close the dialog without starting, the request is declined, and the chat is told so.

TIP: Say exactly what you want, and check the instructions before you click Start. A model that is not told something will assume it, on its own. Ask the chat to translate the dialogue, without saying into which language, and it may pick one for you, such as Spanish, as in the picture below. The chat wrote those instructions from your request, and it is you who has to make sure that they say what you mean. Name the language, the scenes, and where the result should go. If the instructions are not what you meant, change them in the Automate dialog. They are yours to edit, even though the chat started the automation. Do it before you click Start.

The Automate dialog opened by AI Chat, filled in

The chat can use automation only if you allow it. In the AI Chat settings, the tool kits that are internal to Scrite, which include Automation, are listed, and you choose which of them chats may use. Chat apps that you connect over MCP are never offered it.

What It Can Change

What an AI can change depends on the tools it has. The usual ones are:

  • Notes. A note on a scene, a character, or an act or episode, for what the AI writes.
  • Attributes. Categorised key-value pairs that you can attach to the story, scenes, characters and breaks, such as Lighting: low key. They are good for what you want to look at together.
  • The colour of a scene.
  • The text of a scene, when the tools include one that edits it.

Each AI can use these only on its own scene, character, or act or episode.

Tips

  • Be exact. Say what to do, what to look at, and where to write the result. Vague instructions give different results for each one.
  • Start small. Run it on one, check it, then run it on the rest.
  • Give it fewer tools. An AI that can change less can do less harm. Untick the tools that change things that you don't want touched.
  • Mind the cost. One request for each one adds up. See the Call Log for tokens.
  • Use a model that is good with tools. See Choosing the Right Model.

Where to Go Next