B2B Marketing Prompts by TinyTechGuides

B2B Marketing Prompts by TinyTechGuides

Share this post

B2B Marketing Prompts by TinyTechGuides
B2B Marketing Prompts by TinyTechGuides
XML and Hashtag Prompt Formats

XML and Hashtag Prompt Formats

Cut, paste, and save in your personal prompt library

David Sweenor's avatar
David Sweenor
Jan 17, 2025
∙ Paid

Share this post

B2B Marketing Prompts by TinyTechGuides
B2B Marketing Prompts by TinyTechGuides
XML and Hashtag Prompt Formats
Share

The XML and Hashtag tags were discussed in:

B2B Prompt Engineering for PMMs

B2B Prompt Engineering for PMMs

David Sweenor
·
Jan 14
Read full story

XML-style tags

XML style tags are essentially: <tag/> content </tag>.

For example,

<role>

[Specify the role or perspective the LLM should adopt. Example: "Data scientist," "SEO Expert."]

</role>

<context>

[Provide background information, requirements, or constraints relevant to the task. Include details like the industry, goals, or audience.]

</context>

<task>

[Clearly define the specific request. Include any steps or sub-tasks needed.]

</task>

<output>

[Describe the desired format of the response: "Provide a bullet list," "Create a table," "Write in paragraphs."]

</output>

<tone>

[Define the desired tone: "Technical," "Conversational," "Formal," "Persuasive."]

</tone>

<validation>

(Optional) [Specify how the output will be evaluated for success: "Should include 3-5 actionable points," "Ensure all legal constraints are addressed," "Include only verifiable data."]

</validation>

User's avatar
Join David Sweenor’s subscriber chat
Available in the Substack app and on web

B2B Marketing Prompts by TinyTechGuides is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.

Keep reading with a 7-day free trial

Subscribe to B2B Marketing Prompts by TinyTechGuides to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
© 2025 TinyTechMedia LLC
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share