# Flows calling Crews or Crews/Tasks calling Flows

**URL:** <https://community.crewai.com/t/flows-calling-crews-or-crews-tasks-calling-flows/3684>\
**Category:** General\
**Created:** [February 9, 2025, 8:21pm UTC](https://community.crewai.com/t/flows-calling-crews-or-crews-tasks-calling-flows/3684 "2025-02-09T20:21:03Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![fsa317](https://sea1.discourse-cdn.com/flex025/user_avatar/community.crewai.com/fsa317/32/2236_2.png) [@fsa317](https://community.crewai.com/u/fsa317)\
**Post date:** [February 9, 2025, 8:21pm UTC](https://community.crewai.com/t/flows-calling-crews-or-crews-tasks-calling-flows/3684/1 "2025-02-09T20:21:04Z")

</div>

I’m trying to understand the relationship between crews/hierarchies/tasks and flows. Specifically, all the examples have flows calling crews, but can a crew or task call a flow? Is using a flow as a “tool” a valid usage pattern?

---

<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:** [February 10, 2025, 3:44am UTC](https://community.crewai.com/t/flows-calling-crews-or-crews-tasks-calling-flows/3684/2 "2025-02-10T03:44:05Z")

</div>

Generally you use flows as a control structure for your workflow. That means one flow with multiple crews being executed conditionally

---

<div class="post-metadata">

**Author:** ![fsa317](https://sea1.discourse-cdn.com/flex025/user_avatar/community.crewai.com/fsa317/32/2236_2.png) [@fsa317](https://community.crewai.com/u/fsa317)\
**Post date:** [February 11, 2025, 1:06am UTC](https://community.crewai.com/t/flows-calling-crews-or-crews-tasks-calling-flows/3684/3 "2025-02-11T01:06:42Z")

</div>

My situation is that I want to have input determine which one of a few processes to kickoff. My original thought was this was a hierarchical crew, but now I’m confused. Is it required that flows are the outer most layer?

---

<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:** [February 11, 2025, 9:37am UTC](https://community.crewai.com/t/flows-calling-crews-or-crews-tasks-calling-flows/3684/4 "2025-02-11T09:37:57Z")

</div>

You can have a routing/classifier step in the flow that determines which crew to run based on the input

---

<div class="post-metadata">

**Author:** ![fsa317](https://sea1.discourse-cdn.com/flex025/user_avatar/community.crewai.com/fsa317/32/2236_2.png) [@fsa317](https://community.crewai.com/u/fsa317)\
**Post date:** [February 11, 2025, 7:50pm UTC](https://community.crewai.com/t/flows-calling-crews-or-crews-tasks-calling-flows/3684/5 "2025-02-11T19:50:40Z")

</div>

It seems like using the hierarchical process for that selection is the wrong choice.

In my case I need to select which flow to call. Each of the options has a distinct flow.

---

<div class="post-metadata">

**Author:** ![Priti\_Solanki](https://sea1.discourse-cdn.com/flex025/user_avatar/community.crewai.com/priti_solanki/32/1238_2.png) [@Priti\_Solanki](https://community.crewai.com/u/Priti_Solanki)\
**Post date:** [February 11, 2025, 10:50pm UTC](https://community.crewai.com/t/flows-calling-crews-or-crews-tasks-calling-flows/3684/6 "2025-02-11T22:50:47Z")

</div>

any documentation or working example?
