AI Actions: instructions

AI Action instructions are at the center of Contentful's AI-driven workflows, providing the guidance that tells the AI how to process and interact with your content. By defining specific instructions, admins can ensure that the AI performs tasks according to their company's needs, whether it’s rewriting, translating, or handling other content management tasks.

ai-actions-instructions

Admins can specify detailed instructions that direct the AI on how to perform a particular task within an entry. These instructions help the AI understand exactly what needs to be done with the content, ensuring that the action is invoked properly.

Define your AI Action Instructions:

  1. Start by defining the overall goal of the AI Action. For example, if the action is to translate content, you might instruct the AI Action to “Translate the product description to [locale] while maintaining the brand’s tone of voice.” Clear instructions ensure the AI understands the desired outcome.

  2. Provide the AI Action with step-by-step instructions to make it easier for the model to follow.

  3. Modify the instructions to align with your content style, audience, and any specific requirements. You can reference an existing Contentful entry or use the external references variable to provide additional context. For example, embed your style guide to ensure AI-generated content matches your brand’s tone and formatting. Learn more about setting up variables in our Variables.