# Best Practices Integration into Existing CrewAI Workflow

**URL:** <https://community.crewai.com/t/best-practices-integration-into-existing-crewai-workflow/6545>\
**Category:** General\
**Tags:** tools\_issues, agent, crewai\
**Created:** [July 11, 2025, 12:25pm UTC](https://community.crewai.com/t/best-practices-integration-into-existing-crewai-workflow/6545 "2025-07-11T12:25:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shivang\_Goyal](https://sea1.discourse-cdn.com/flex025/user_avatar/community.crewai.com/shivang_goyal/32/3649_2.png) [@Shivang\_Goyal](https://community.crewai.com/u/Shivang_Goyal)\
**Post date:** [July 11, 2025, 12:25pm UTC](https://community.crewai.com/t/best-practices-integration-into-existing-crewai-workflow/6545/1 "2025-07-11T12:25:11Z")

</div>

Here’s a polished and well-structured version of your problem statement for posting in the CrewAI community:

* * *

### 🧠 Best Practices Integration into Existing CrewAI Workflow

Hi @maxmoura and CrewAI community,

I’m working on a CrewAI-based application where I’ve already created **agents and tasks** for specific features like:

- Summarizing CRM lead details
- Drafting emails based on lead information (e.g., details, activities, notes) pulled from a database view

Now, I’ve received a **Best Practices document** that includes guidance like:

- Understanding Your Customer
- Communication Best Practices
- Discovery Questions
- Activity Recommendations by Sales Stage

Although it’s a relatively small document, it contains **critical instructions that should be consistently applied** across all these features (summaries, email drafts, etc.).

I’m trying to figure out the **best architectural approach** to incorporate this Best Practices logic into my existing CrewAI setup. Here are some possible approaches I’ve considered:

* * *

### 🛠 Options I’m Exploring

1. **Pass Best Practices directly into the tool** along with lead details

2. **Create a separate tool `BestPractice()`**

3. **Create a dedicated agent and task for processing Best Practices** , then use a multi-agent setup

4. **Pre-process lead details through Best Practices first** , then pass enriched input to summary/email agent

* * *

### ❓ My Key Question

> What’s the **most CrewAI-idiomatic and scalable** way to ensure these Best Practices are **always applied** to the output of my summary and email-drafting agents?

Would love your thoughts on how others have handled similar integration of global context/instructions across multiple tasks.

Thanks in advance!

—Shivang

---

<div class="post-metadata">

**Author:** ![igi](https://sea1.discourse-cdn.com/flex025/user_avatar/community.crewai.com/igi/32/2625_2.png) [@igi](https://community.crewai.com/u/igi)\
**Post date:** [July 18, 2025, 7:03am UTC](https://community.crewai.com/t/best-practices-integration-into-existing-crewai-workflow/6545/2 "2025-07-18T07:03:27Z")

</div>

Dear @Shivang_Goyal,

Currently I am also dealing with similar approaches. To my experience the most reliable method is to use tags for your must-have information. If you put your “critical instructions” between tags, then you can tell the agent to always include this information within your different output documents.

Best

---

<div class="post-metadata">

**Author:** ![maxmoura](https://sea1.discourse-cdn.com/flex025/user_avatar/community.crewai.com/maxmoura/32/4206_2.png) [@maxmoura](https://community.crewai.com/u/maxmoura)\
**Post date:** [July 18, 2025, 11:09am UTC](https://community.crewai.com/t/best-practices-integration-into-existing-crewai-workflow/6545/3 "2025-07-18T11:09:31Z")

</div>

@Shivang_Goyal,

As I mentioned in [this other thread](https://community.crewai.com/t/sql-agent-response-time-and-multi-user-q-a/6034/4), here are a few ideas on how to organize your instructions:

- As @igi rightly pointed out, focus on organizing your prompts (`Task.description`). I also recommend using well-structured Markdown, especially with subheadings, bullet points, and so on. This helps maintain clarity and readability for both humans and LLMs.
- Regarding your Best Practices document, consider creating a specific section for them where you break down the recommended practices relevant to each task. Not all best practices might apply to every task, so this curation helps maintain focus.
- Avoid using a tool just to retrieve that file. Generally (and this applies to many situations), tool usage by the LLM should be restricted to scenarios where you can’t determine the necessary information beforehand. Each tool use by the LLM adds an extra step, which increases latency and potentially introduces another source of hallucinations (e.g., improper tool use). If you can provide the information directly in the prompt, that’s preferable.
- If these Best Practices are crucial for the client, consider creating a dedicated step (either a node in a `Flow` or an `Agent` in your process) responsible for verifying that the best practices have been followed, i.e. one agent generates, and another one verifies. This improves the final output’s alignment with your client’s requirements.
- Even if you adopt a verification step, it’s a good idea for the generating agent to already be aware of the best practices. In other words, make sure to provide the best practices to both the generating agents and (obviously) the ones that verify/enforce them.

I hope these general ideas help you deliver a great result.
