ERA Framework: Expectation, Role, Action

Not every prompt needs to be long — but every good prompt needs to be clear. The ERA framework proves that three well-defined components are enough to guide AI to deliver exactly what you expect.

With a focus on outcome, functional context, and objective execution, ERA is ideal for those seeking practical, well-targeted responses with the right tone for the goal.

What is the ERA Framework?

The ERA framework is a simple three-part structure designed to make your prompts clear and effective. It ensures the AI understands your goal, adopts the right perspective, and delivers exactly what you need. Let’s explore each component and discover when this structure excels.

Structure Components

  • Expectation: Specifies the desired result, such as “a concise summary” or “three practical tips.”
  • Role: Defines who the AI should be, like “a career coach” or “a tech analyst,” adjusting the tone and level of expertise.
  • Action: Details what the AI should do, like “write a paragraph” or “suggest solutions.”

These elements come together to create a focused, easy-to-follow prompt that delivers results that meet your purpose.

When to Use It?

ERA is perfect when you want quick and targeted responses without unnecessary detail. Use it if:

  • You need an agile solution for a specific task, like drafting or generating ideas.
  • You want the AI to adopt a particular perspective or area of expertise.
  • You seek clarity and simplicity in the response.
  • You’re creating content, study material, or quick guidance.

For example: “I expect [Expectation]. As [Role], please [Action].”

Practical Examples of ERA in Action

To show how ERA works in practice, here are three examples applied to everyday situations. See how it delivers clear and useful results.

Example 1: Drafting a Professional Email

Context: You need a quick email to schedule a meeting with a client.

Prompt
I expect a professional email draft (Expectation). As a business consultant (Role), write a short email to schedule a meeting with a client next week (Action).

Why It Works: The “Expectation” sets the goal of a well-crafted email, the “Role” ensures a professional tone, and the “Action” specifies the task, resulting in a ready-to-use text.

Example 2: Public Speaking Tips

Context: You’re preparing for a presentation and want quick advice.

Prompt
I expect three practical tips (Expectation). As a public speaking coach (Role), suggest ways to reduce nervousness during a presentation (Action).

Why It Works: The “Expectation” asks for a specific number of tips, the “Role” brings expert insight, and the “Action” targets a clear issue, delivering useful advice.

Example 3: Study Plan for Certification

Context: You’re preparing for an IT certification exam.

Prompt
I expect an effective study plan that covers all necessary topics for the IT certification exam in three months (Expectation). As a specialized IT tutor (Role), develop a weekly schedule with steps, resource suggestions, and review techniques (Action).

Why It Works: The expected result is clear, the expert role sets the tone, and the action outlines the type of delivery.

Tips to Make the Most of ERA

ERA is straightforward, but it can be tailored to fit exactly what you need. Here are some suggestions to personalize it and get the best results.

Customize for Your Goal

  • Expectation: Be clear about the desired outcome. “A short sentence” is more specific than “something brief.”
  • Role: Choose a role that matches the tone or expertise of the task. “A teacher” may be didactic, while “a data scientist” is analytical.
  • Action: Refine the task for greater precision. “Give advice” is vague, while “list steps” is concrete.

Quick Example: “I expect a creative tagline (Expectation). As a marketing expert (Role), create a slogan for a sustainable fashion brand (Action).”

Start Using ERA Today

The ERA framework is your shortcut to clear, focused AI responses. By combining a defined goal, a specific role, and a precise task, it ensures your interactions with LLMs are efficient and aligned with what you want. Whether for work tasks, studies, or quick ideas, ERA delivers results that make a difference.

🎯 Quick Summary: ERA defines what you expect (Expectation), who’s responding (Role), and how they should do it (Action).

🔗 Want to explore more frameworks like this?
Check out the Practical Guide to Prompt Techniques, Frameworks, and Formulas for LLMs, with dozens of detailed and applicable structures for different contexts and goals, plus techniques and prompt engineering tips.

📘 Bonus tip:
Download the free eBook “Prompt Engineering Unveiled”, featuring easy explanations, practical examples, and strategies ranging from basic to advanced to master communication with AI.

Fabio Vivas
Fabio Vivas

Daily user and AI enthusiast who gathers in-depth insights from artificial intelligence tools and shares them in a simple and practical way. On fvivas.com, I focus on useful knowledge and straightforward tutorials you can apply right now — no jargon, just what really works. Let's explore AI together?