# How to chnage task description and expected output dynamically based on input value?

**URL:** <https://community.crewai.com/t/how-to-chnage-task-description-and-expected-output-dynamically-based-on-input-value/5374>\
**Category:** General\
**Created:** [April 16, 2025, 5:32pm UTC](https://community.crewai.com/t/how-to-chnage-task-description-and-expected-output-dynamically-based-on-input-value/5374 "2025-04-16T17:32:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pamod](https://sea1.discourse-cdn.com/flex025/user_avatar/community.crewai.com/pamod/32/3052_2.png) [@pamod](https://community.crewai.com/u/pamod)\
**Post date:** [April 16, 2025, 5:32pm UTC](https://community.crewai.com/t/how-to-chnage-task-description-and-expected-output-dynamically-based-on-input-value/5374/1 "2025-04-16T17:32:59Z")

</div>

I am defining task as below . crew.kickoff(inputs =inputs )  
Inputs is a dictionary and i want to change description and expected\_output of task based on “inputs”

> @task  
> def content\_personalizer\_task(self) → Task:  
> “”“Creates the content personalizer task”“”  
> return Task(  
> config=self.tasks\_config[‘content\_personalizer\_task’],  
> agent=self.reporting\_analyst(),  
> memory = True,  
> tools=[pdf\_tool,website\_search\_tool],  
> output\_pydantic=Report,  
> output\_file=‘report.md’  
> )

---

<div class="post-metadata">

**Author:** ![zinyando](https://sea1.discourse-cdn.com/flex025/user_avatar/community.crewai.com/zinyando/32/4435_2.png) [@zinyando](https://community.crewai.com/u/zinyando)\
**Post date:** [April 17, 2025, 3:29pm UTC](https://community.crewai.com/t/how-to-chnage-task-description-and-expected-output-dynamically-based-on-input-value/5374/2 "2025-04-17T15:29:39Z")

</div>

Can’t you create 2 different crews with the different inputs, then can create a flow with a classifier and based on the inputs choose which crew to run. This gives you one interface to interact with your crews just as if you are running 1 crew.

---

<div class="post-metadata">

**Author:** ![pamod](https://sea1.discourse-cdn.com/flex025/user_avatar/community.crewai.com/pamod/32/3052_2.png) [@pamod](https://community.crewai.com/u/pamod)\
**Post date:** [April 17, 2025, 3:47pm UTC](https://community.crewai.com/t/how-to-chnage-task-description-and-expected-output-dynamically-based-on-input-value/5374/3 "2025-04-17T15:47:07Z")

</div>

Yes. i could do that. there are very few subtle changes in task descriptions. so i am checking if i could do within crew itself.
