The art of asking the right question: Why prompt engineering is the new strategic superpower in marketing

Gunter SchumannGunter Schumann
Jul 22, 2026

This article is aimed at marketing practitioners and content teams who use AI tools in their daily business and want to get better results from their prompts.

You want to learn more about Agentic Marketing? Fantastic! This article is part of the series „Mastering Agentic Marketing“.

A Tuesday morning in the marketing team. The coffee cup is steaming, the campaign launch for the new B2B software tool is imminent. The sparking idea for the accompanying email sequence is still missing. A quick click, the generative AI tool of choice opens. The cursor blinks expectantly. A hastily typed sentence:

"Write me a friendly, high-converting email for our new campaign."

Three seconds later, the screen spits out a three-part text. It is flawless. It reads fluently. And it is... terrifyingly boring. A string of phrases like "maximise synergies", "groundbreaking innovation" and "actively shaping the future". It is a text that could just as easily have come from any competitor. Interchangeable, soulless, and completely missing the mark with the customer.

Why is that? Is artificial intelligence not as intelligent as everyone claims? Have we overestimated the capabilities of modern Large Language Models (LLMs)?

The answer is: No. The problem does not lie with the receiver, but at the source. An LLM is like a highly gifted, extremely well-read intern sitting in the office on their first day of work. In theory, they know every written word in the world, but have no idea about your product, your target audience, or your strategic goal. If you shout out to them: "Do some quick marketing", they will deliver what is statistically most likely to be defined as "marketing" – the average of all existing marketing texts.

This is where the most important discipline of modern marketing comes into play: prompt engineering. It is far more than a technical gimmick for IT departments. Prompt engineering is the new strategic translation competence at the interface between human creativity and machine scalability. Anyone who masters this art turns AI from a nice text machine into a genuine productivity multiplier in everyday marketing.

In this guide, we examine the topic of prompt engineering from a 360-degree perspective. We will show you how AIs really work behind the scenes, why supposedly simple prompts fail, how you can embed proven techniques and frameworks into your daily business, and how you can use Optimizely Opal as the central hub for your AI-supported marketing infrastructure.

The code behind the language: How AIs really "think"

To understand how we can optimally control AIs, we must strip away the illusion of human conversation. When we chat with systems like Optimizely Opal, it feels as if we are speaking with an intelligent human being. However, an AI does not "think" in concepts, emotions, or logical causalities. It works with pure statistics, probabilities, and mathematical spaces.

From word to vector: The principle of tokenisation

When you enter a text into an AI, the first step is to break it down into so-called tokens. A token is not necessarily a whole word; they are often syllables, word parts, or punctuation marks. An LLM does not see the aesthetics of your phrasing. It translates each token into a long chain of numbers, a so-called semantic vector.

This vector locates the word in a vast, multi-dimensional mathematical coordinate system, the semantic space. Words with a similar meaning or frequent joint usage (e.g. "coffee" and "cup") lie close together in the coordinate system.

When the AI generates an answer, it essentially only calculates which token is statistically the best fit to follow the previous vectors. It is not a deterministic system that queries a fixed database. It selects the most probable meaning and the most probable continuation from its learned training material.

This means: Without precise context, there is a high probability that the AI will search in the wrong coordinate space.

Two astonishing practical examples impressively illustrate this mechanism.

The "2 + 4" dilemma

Imagine you type in the following, seemingly clear command: "Explain 2 + 4 to me."

What will AI do? Mathematically conditioned as it is, it will locate the vectors for "2", "+", and "4" in the mathematical semantic space. The answer will be: "2 + 4 equals 6. This is a simple addition..."

This is mathematically correct, but perhaps you had something completely different in mind. What if you wanted a historical summary of the Two Plus Four Agreement (Treaty on the Final Settlement with Respect to Germany), which paved the way for German reunification in 1990?

The AI made no mistake at this moment. It simply chose the statistically most probable interpretation for the loose string of characters. Only when you add the context ("Explain the 2+4 Agreement to me in the context of German reunification"), does the semantic vector abruptly shift from the space of primary school mathematics into the space of contemporary history.

The "bank" riddle

An even more extreme example of the ambiguity of our language is the word "bank". If you ask an AI: "How do I create a bank?"

Different models will react completely differently depending on their training focus and random generator:

  • Model A (financial focus) provides you with detailed, legal instructions on how to found a credit institution according to the German Banking Act (KWG), including BaFin regulations and equity requirements.
  • Model B (service focus) assumes that you are an end customer and explains step-by-step how to open an online current account with a bank.
  • Model C (craft focus) provides you with a shopping list for the DIY store and a construction drawing for a rustic wooden garden bench.

This example shows: Words in themselves have no fixed meaning for an LLM. Only the surrounding parameters define the space in which the answer should operate. For us as marketers, this means: If we do not tell the AI exactly who we are, what we do, and what the goal of our communication is, we leave the result to pure statistical chance.

Context is king: The foundation of outstanding prompts

So how do we build a bridge across this semantic divide? The answer lies in the structured provision of context. A first-class marketing prompt is always based on the same foundational pillars. The more precisely you define these pillars, the more precise, creative, and ready-to-use the result will be.

The 6 pillars of a perfect marketing prompt

The next time you formulate a prompt, use this checklist:

Pillar Description Example
Role & Persona Who should the AI be? What expertise does it bring? "Act as an experienced B2B copywriter with a focus on SaaS marketing."
Task What exactly should be done? Be precise with your verb. "Write a three-stage email sequence for a reactivation campaign."
Context What is the background? Who is the company, what is the product? "We sell a project management tool to IT agencies. The target audience cancelled during the trial phase."
Target Audience For whom is the content intended? What are their pain points? "IT project managers who have little time and are annoyed by complicated interfaces."
Style & Tone of Voice How should it sound? What mood should be conveyed? "Professional, direct, solution-oriented, without marketing jargon. Use the informal 'you'."
Output Format (Formatting) How should the final result be structured? "Create the subject line, preview text, and email body separately. Maximum 150 words per email."

The invisible danger: Overprompting

Those who understand the importance of context often tend to make a classic beginner's mistake in the next step: overprompting.

If you try to squeeze all theoretical eventualities, exceptions, thirty different brand rules, and hundreds of lines of background knowledge into a single prompt, the logic of the LLM collapses. The model's so-called attention mechanism becomes overwhelmed. The AI no longer knows which instructions have priority and ignores important parts of your prompt or delivers a convoluted, overloaded result.

The golden rule is: As much context as necessary, as compact as possible. It is better to break complex tasks down into modular sub-steps rather than trying to force an all-singing, all-dancing solution in a single mega-prompt.

The toolbox of prompt types

Prompting is not a rigid process. Depending on the phase of content creation you are in, different prompt types are suitable. If you master these, you can control your AI like a fine precision tool.

Zero-shot prompting: The quick spark

With zero-shot prompting, you throw a direct task at the AI without any templates or examples.

Example: "Write a social media post about the advantages of agile project planning in the B2B sector."

When is it useful? Ideal for brainstorming, quick idea generation, first drafts, or topics where you deliberately want to be surprised. However: The result is often still very generic and requires manual reworking.

One-shot & multi-shot prompting: The power of the role model

People learn best through examples – AI’s do too. With one-shot (one example) or multi-shot (multiple examples) prompting, you provide the AI with a concrete pattern to follow.

Example of a one-shot prompt:

"Here is an email that achieved an open rate of 45% in our last campaign: [Example text]. Now write a new email for our new product X following exactly this structure, tone, and sentence structure."

When is it useful? When you want to create consistent brand formats (e.g. weekly newsletters, product descriptions) that must follow a fixed pattern.

Optimizely AI insight: In everyday marketing, constantly copying and pasting long texts is tedious. Platforms like Optimizely Agent Platform solve this problem elegantly: Thanks to the deep integration into Optimizely Campaign infrastructure, you do not have to copy the entire text for the AI. It is sufficient to reference the specific ID of your last mailing in the prompt ("Use the mailing with the ID XYZ as a one-shot template"). Optimizely Agent Platform automatically retrieves the content in the background and uses it as an anchor for context. Read more about Optimizely’s Agent Platform.

Chain of Thought: Letting the AI think out loud

When you develop complex strategic concepts, standard prompts often fail. The AI jumps to conclusions and delivers superficial answers. The solution is the chain of thought method. Here, you explicitly ask the AI to solve the problem in logical intermediate steps and to disclose its thinking process.

Example: "We want to launch a campaign to win back inactive B2B customers. Develop a strategy. Proceed step by step: First, analyze why B2B customers become inactive. Second, derive three core messages from this. Third, draft the framework for a four-part email sequence. Justify each of your steps."

The advantage: You not only receive the finished texts, but the strategic foundation behind them. The results are constructed in a dramatically more logical way, are more error-free, and adapt much better to the real customer journey.

Iterative prompting: The cooperative dialogue

Never expect the first prompt to immediately deliver the perfect, finished marketing asset. First-class content is created in a dialogue. With iterative prompting, you work your way towards the desired result together with the AI in an ongoing conversation.

In practice, this iterative loop looks like this, for example:

  • Step 1 (The rough draft): You ask the AI for an email for a spring offer (zero-shot). You receive a solid, but somewhat dry text.
  • Step 2 (The style adjustment): You provide feedback: "That is a good start. Now formulate the text much more friendlily, focus more strongly on our target audience of busy mothers, and emphasise the 20% discount more prominently in the first paragraph."
  • Step 3 (The format optimisation): The result is now excellent in terms of content, but too long for a high-converting email. Your next prompt: "Perfect. Now shorten the text to a maximum of 100 words and integrate an extremely clear, unambiguous call to action (CTA) on a green button at the end."

The result of this three-stage iteration is many times stronger than any attempt to squeeze all these requirements into a single, overloaded starting prompt.

Prompt frameworks: Structure for scalable daily business

Prompt frameworks help to ensure that your marketing team does not have to reinvent the wheel every time in the stressful day-to-day business. They are standardized templates that ensure everyone in the team writes prompts according to the same quality standards. This makes the results reproducible, saves time, and ensures brand compliance.

The classic "Persona-Task-Context" framework (PTC)

A very effective framework that is easy to remember in everyday life is the PTC framework:

  • Persona (Who are you?): Defines the role of the AI.
  • Task (What are you doing?): Describes the concrete task.
  • Context (Why and for whom?): Specifies the target audience, tone of voice, and format.

If you define this framework as the standard for your team, an imprecise command like "Write a newsletter" automatically becomes a highly precise work order:

"[Persona] Act as an experienced B2C newsletter editor for a premium coffee brand. [Task] Write a weekly newsletter with three short paragraphs introducing our new roast 'Ethiopian Highland'. [Context] Our target audience is coffee connoisseurs who value fair trade and artisanal roasting. The tone should be inviting, warm, and passionate. Final format: Subject line in teaser style, maximum 120 words of total text, closing CTA to the online shop."

The CLEAR framework for demanding marketing tasks

For complex, multi-stage campaign planning, the CLEAR framework is recommended:

  • Context: Background of the campaign and the company.
  • Limits: Restrictions such as word count, forbidden terms (no-go words), or legal frameworks.
  • Exemplars: One-shot or multi-shot templates for structure and tone.
  • Act: The specific task to be executed.
  • Review: The prompt to the AI to critically question its own result before outputting it.

Secret weapons in practice & the ultimate prompt hack

Once you have understood the basics of prompt engineering, you can use two advanced techniques to take your efficiency to the next level.

Global guardrails: The principle of instructions

In everyday marketing, there are constants that never change: Your brand values, your logo, your tone of voice, your primary target audience, and your no-go words. It would be extremely inefficient to have to write these parameters into every single prompt.

Optimizely’s Agent Platform offers a function for this: Instructions at the system level.

You define your corporate identity, your defined writing style, and your target audience definitions centrally in the system once. When you now work in the daily chat, you can keep your prompts extremely short and lean. The Agent Platform automatically filters every one of your commands through the prism of your deposited instructions. The result: Every output is brand-compliant from the very first second, without you having to burden your prompt with repetitive overhead.

The ultimate prompting hack: Asking about certainty

Would you like to know how you can immediately dramatically improve the quality of an AI response? Use the confidence score hack at the end of a complex prompt. Simply add the following sentences to your input:

"Evaluate your own response before outputting it on a scale of 1 to 100 in terms of precision, strategic relevance to the target audience, and brand compliance. If your rating is below 90, tell me the reasons for your uncertainty and tell me exactly what additional information you need from me to deliver a better result."

The AI's reaction will surprise you. Often it not only delivers the text to you, but an honest self-assessment:

"I rate my response at 80/100. Reason: I have used strong, emotionally appealing arguments for the B2C segment, but I do not know the exact technical specifications of your product well enough. If you tell me whether your product X has an API interface, I can increase the relevance of the arguments for the IT target audience to over 95/100."

This is iterative prompting in its purest, most cooperative form. You force the AI to self-reflect and receive a precise guide on how you can perfect the prompt with minimal effort.

Limits of AI generation: The example of image formats

An important aspect of prompt engineering is understanding the limits of current models. A common practical question we often see with our clients: “Can I get a generative image with pixel-perfect dimensions (e.g. 'exactly 1200x630 pixels')?”

The answer is currently still: No, exact pixel specifications do not work reliably.

Image models (such as Nano Banana) work like text models with probabilities and patterns. They often do not understand the concept of exact mathematical width at the pixel level precisely enough and ignore such rigid frameworks.

The best practice for marketers: Instead of pixel specifications, always use clearly defined aspect ratios, such as 16:9 (widescreen for banners), 1:1 (square for social media), or 9:16 (portrait for mobile). This works extremely reliably in the model background. You can subsequently easily scale the finished image, generated in the correct aspect ratio, to the desired pixel size.

Conclusion: Prompting is a process, not a one-off command

Prompt Engineering is the key that unlocks the massive potential of artificial intelligence for your marketing. Anyone who understands that AI essentially wanders through statistical semantic spaces stops asking imprecise questions.

By providing precise context, establishing strategic frameworks like CLEAR in your team, utilizing global instructions, and conducting iterative dialogues, you transform your AI usage from a neat plaything into a highly scalable, measurable marketing asset.

Say goodbye to generic deserts of text. The era of precise, brand-compliant AI marketing has begun. And it starts with the next, right question you ask.

Take the next step in your AI marketing strategy!

Go even deeper.

Our AI Masterclass: In hands-on sessions, learn how to connect Optimizely Opal and Campaign for maximum impact and revolutionise your content production. Sign up now and stay up to date as soon as new dates become available!