Skip to content
The AI Automators
  • Community & Courses
  • Contact
  • Login
  • YouTube

How to Stop Claude’s Preamble in Your Automations

September 20, 2024 by Alan Walsh

Claude has a tendancy to respond with generic preambles such as “Here is what you asked for…”, which can disrupt automations.

You can get Claude to eliminate its tendency to respond with generic preamble introductions by getting it to output in XML tags or by prefilling its response. I explain both approaches below.

In the below video, I’m using Make.com but this appraoch should work regardless of how you’re calling Claude via API (either via code or no-code tools).

Removing Unwanted Preambles with XML Tags

The first tip I share is to use XML tags in your prompts to Claude. By instructing Claude to wrap its response in specific XML tags, you can easily extract the relevant content without any unnecessary explanations or introductions.

For example, when creating a Facebook post, you can add the following instruction to your prompt:

“Write your Facebook post inside <Facebook_message> tags. Do not include any other text or explanations outside of these tags.”

This approach ensures that Claude’s response is clean and ready for use in your automation workflow.

Parsing XML Responses in Make.com

If you’re using Make.com, once you have Claude’s response in XML format, you can easily parse it using Make.com’s XML tools. Here’s how:

  • Use the “Parse XML” function in Make.com
  • Select the text response from Claude as the input
  • Extract the content within the specified XML tags

To further refine the output, you can use the trim() function to remove any extra whitespace at the beginning or end of the extracted text.

Pre-filling Responses for Better Structure

The second tip I demonstrate is pre-filling the response structure in your prompt to Claude. This technique involves providing the initial text or tags you want Claude to use in its response.

For example, you can include the opening XML tag in your prompt:

<Facebook_message>

By doing this, you’re guiding Claude to continue its response within the desired structure, making the output even more reliable and consistent.

Adapting the Technique for Different Formats

This pre-filling technique is versatile and can be applied to various output formats, including:

  • JSON structures
  • HTML tags
  • Custom data formats for specific applications

By implementing these tips, you can significantly improve the usability of Claude’s responses in your automated workflows, regardless of whether you’re using code-based or no-code solutions.

Categories Make.com, Claude

Keep reading

NEW Make.com MCP Update: Connect Anything in Minutes! (No-Code)

May 11, 2025 by Alan Walsh

In my latest exploration of Make.com, I focused on its exciting new feature, the Model Context Protocol (MCP). This enables users to connect external agents, such as Claude Desktop, directly to their Make.com accounts. The beauty of this feature lies in its ability to let these agents discover, understand, and execute scenarios without requiring complex … Read more

Categories Make.com

How to Bulk Add Rows to Google Sheets with Make.com

April 30, 2025 by Alan Walsh

In this guide, I’ll show you how to efficiently bulk add rows to Google Sheets using Make.com. This method not only streamlines your workflow but also saves on operations, making it a smart choice for handling large datasets. Introduction to Bulk Adding Rows Bulk adding rows in Google Sheets can transform your data management. Instead … Read more

Categories Make.com

Understanding Bundles, Arrays & Collections in Make.com

April 28, 2025 by Alan Walsh

In this blog, I’m diving into the essential data structures of Make.com: bundles, arrays, and collections. These concepts are crucial for creating more sophisticated automation scenarios, and I aim to make them practical and easy to understand. Overview of Data Structures Understanding data structures is fundamental in automation. Within Make.com, bundles, collections, and arrays serve … Read more

Categories Make.com
Community Contact BLOG member login

© 2026 - The AI Automators® is a registered business name of LogicLabs Digital Limited | Privacy Policy

Not ready to join yet? You can still stay up to date!

Subscribe to our newsletter to get actionable guides, tips, and the latest AI news by email.

    We won't send you spam. Unsubscribe at any time.