How to Create Prompts for Business Automation with New LLMs

Why prompts are essential for business automation today

The shift from code to description

Traditionally, developers wrote detailed scripts. Now, a clear prompt can generate functional code, extract data, or trigger robotic process automation (RPA). This shift reduces development time and makes automation accessible to a broader audience, not just expert engineers.

1. Real-time benchmarking with NEEDLE

Keenable AI has open-sourced NEEDLE, a benchmark that regenerates its query set every hour. For automation teams, this means being able to test prompts against always-up-to-date data, ensuring models remain accurate even as real-world contexts evolve.

2. Multivariate forecasting with TimesFM-3

Google Research has released TimesFM-3, a 330-million-parameter foundation model that can predict multiple related time series in a single forward pass. When designing prompts for inventory optimization or financial planning, incorporating TimesFM-3 can significantly reduce the number of API calls required.

3. Agent complexity as the primary challenge

According to Gravitee, the real risk for businesses is not agent autonomy, but the complexity that arises when coordinating multiple agents. Modular, well-structured prompts are essential for maintaining control over multi-agent systems.

How to build modular and reusable prompts

  • Break down objectives:
  • Use placeholders:Create templates with placeholders like{context},{format},{tone}to quickly adapt prompts to different contexts.
  • Separate instructions from data:Keep system instructions separate from user data. This improves clarity and protects sensitive information.
  • Document variables:Add a brief comment for each placeholder, describing the expected data type and any limitations.

Practical example: from requirement to Python prompt

Imagine you want to automate the weekly sales report update. The workflow is as follows:

  1. Extract raw data from a database.
  2. Classify rows by region and product.
  3. Generate an executive summary in Markdown.

system: You are a data extraction assistant. Extract all records from the 'sales' table where 'month' = {month} and return the results as JSON.

user: month = {month}

system: Classify each sales record in the following JSON into region and primary category.

user: {sales_json}

system: Write an executive summary of the classified sales metrics, in a formal and concise tone. Use Markdown for formatting.

user: {classified_data}

Optimization and testing with NEEDLE and TimesFM-3

To ensure these prompts remain effective, integrate NEEDLE into your CI/CD pipelines:

  • Run a validation check every hour: NEEDLE regenerates a small set of queries based on real sales data and verifies that the returned JSON matches the expected schema.
  • When integrating TimesFM-3 for trend forecasting, add a {forecast_model} placeholder to the prompt. This allows you to switch from TimesFM-3 to another model with a single change.

Example testing snippet

import openai
import json

# Example prompt for NEEDLE
def validate_prompt(prompt_template, test_data):
    response = openai.ChatCompletion.create(
        model="gpt-4",
        messages=[{"role": "user", "content": prompt_template.format(**test_data)}]
    )
    # Schema validation
    parsed = json.loads(response.choices[0].message.content)
    assert "region" in parsed and "category" in parsed
    return True

Common mistakes and how to avoid them

  • Prompts that are too vague:Add specific constraints (format, length, vocabulary).
  • Lack of modularity:If a prompt cannot be reused, it is likely too tied to a specific use case.
  • Ignoring agent complexity:Test your prompt flows with simple agents before moving to multi-agent systems.
  • Not documenting placeholders:An undocumented prompt will break as soon as the team changes.

Takeaway: concrete steps to get started

  1. Map an existing business process and break it down into three micro-tasks.
  2. Create a basic prompt for the first micro-task using a system-user model.
  3. Add placeholders and document each variable.
  4. Run a rapid feedback loop: NEEDLE can validate output every hour.
  5. Integrate TimesFM-3 for any forecasting component and measure cost savings in terms of API calls.

Conclusion

IMPORTANT: We are in 2026. All temporal references must be current. Do not mention past years such as 2024, 2023, etc. The content must be fresh and relevant to the present. CURRENT CONTEXT (September 2026): Here are some recent trends and news to inspire you: - Keenable AI Open-Sources NEEDLE: A Live Search Benchmark That Rebuilds Its Query Set Every Hour: How do you benchmark a web search API when the thing being tested can read the answer key? A search agent has a fetch tool. If the gold labels sit in ... [2026-09-01] - Gradium AI Releases New Default TTS Model: 81.0% Hard-Case Pass Rate at 216 ms Time-to-First-Audio: Speed and accuracy usually pull against each other in text-to-speech. Gradium AI’s new default model reports both: an 81.0% human-rated pass rate on 5... [2026-09-01] - Researchers from Princeton, Ant Group and Stanford Introduce AQuA: A Two-Part Agentic Framework for Autonomous Factor Discovery and Model Development in Quantitative Finance: Quantitative research agents that write their own experiments can corrupt the evidence they later learn from. A leaky feature that scores well gets st... [2026-09-01] Use this current information as inspiration to create an original and relevant prompt for 2026.

💼 Vuoi ottimizzare i tuoi processi con l'AI?

Scopri come possiamo aiutarti a creare prompt personalizzati e strategie AI su misura per il tuo business.

Richiedi Consulenza Gratuita