# Only one intent allowed in a rule?

**URL:** <https://forum.rasa.com/t/only-one-intent-allowed-in-a-rule/47046>\
**Category:** Rasa Open Source\
**Created:** [August 19, 2021, 11:20am UTC](https://forum.rasa.com/t/only-one-intent-allowed-in-a-rule/47046 "2021-08-19T11:20:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![actorkrishna](https://avatars.discourse-cdn.com/v4/letter/a/85e7bf/32.png) [@actorkrishna](https://forum.rasa.com/u/actorkrishna)\
**Post date:** [August 19, 2021, 11:20am UTC](https://forum.rasa.com/t/only-one-intent-allowed-in-a-rule/47046/1 "2021-08-19T11:20:07Z")

</div>

I have been working with rules and stories, as well as forms lately. I have noticed that I get some error while creating a rule which has more than one intent. I don’t remember the error.

My question is, is it that only one intent needs to be present in a rule, unlike stories, which can contain as many intents as possible?

---

<div class="post-metadata">

**Author:** ![ChrisRahme](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/chrisrahme/32/15572_2.png) [@ChrisRahme](https://forum.rasa.com/u/ChrisRahme)\
**Post date:** [August 19, 2021, 12:15pm UTC](https://forum.rasa.com/t/only-one-intent-allowed-in-a-rule/47046/2 "2021-08-19T12:15:06Z")

</div>

Maybe the error you’re getting is when two rules and stories conflict?

Anyway, what’s the rule that is causing you problems?

- Rules are generally intent-\>action only, or intent-\>action-\>action. They represent what the bot MUST do when it detects an intent.
- Stories are more flexible and usually are more than 5 lines long. They represent what the bot is supposed to do during a certain context.

---

<div class="post-metadata">

**Author:** ![pranali05-ai](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/pranali05-ai/32/22755_2.png) [@pranali05-ai](https://forum.rasa.com/u/pranali05-ai)\
**Post date:** [April 17, 2024, 10:00am UTC](https://forum.rasa.com/t/only-one-intent-allowed-in-a-rule/47046/3 "2024-04-17T10:00:08Z")

</div>

@ChrisRahme Can we add one form in rules for multiple intents providing different different utterance after form is closed. For ex:- form name: village form is used for two intents inside rules, under 1st rule can activate form for intent\_x and then in 2nd rule deactivate form with utter\_x and in 3rd rule can activate form for intent\_y and then in 4th rule deactivate form with utter\_y .

this gives error saying conflicting utterances for form as after deactivating form their are two different utterance (x and y).

How to handle this case?

---

<div class="post-metadata">

**Author:** ![actorkrishna](https://avatars.discourse-cdn.com/v4/letter/a/85e7bf/32.png) [@actorkrishna](https://forum.rasa.com/u/actorkrishna)\
**Post date:** [June 5, 2024, 7:15am UTC](https://forum.rasa.com/t/only-one-intent-allowed-in-a-rule/47046/4 "2024-06-05T07:15:10Z")

</div>

You can use slot\_was\_set events and handle slot values in the form
