# Can I trigger a FolloupAction and SlotSet in the same function?

**URL:** <https://forum.rasa.com/t/can-i-trigger-a-folloupaction-and-slotset-in-the-same-function/20868>\
**Category:** Rasa Open Source\
**Created:** [November 4, 2019, 3:17pm UTC](https://forum.rasa.com/t/can-i-trigger-a-folloupaction-and-slotset-in-the-same-function/20868 "2019-11-04T15:17:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![juliamendoim](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/juliamendoim/32/2455_2.png) [@juliamendoim](https://forum.rasa.com/u/juliamendoim)\
**Post date:** [November 4, 2019, 3:17pm UTC](https://forum.rasa.com/t/can-i-trigger-a-folloupaction-and-slotset-in-the-same-function/20868/1 "2019-11-04T15:17:44Z")

</div>

Hi, I’m trying to trigger a FollowupAction inside one of my custom actions. I also want to set de values for some slots, but if I do that, this error keeps emerging:

“”“Your action’s ‘action\_xxx’ run method returned an invalid event. Event will be ignored.”""

Is not possible to trigger two events in the same function? If not, is there another way of achieving something like this?

Thanks

---

<div class="post-metadata">

**Author:** ![Gehova](https://avatars.discourse-cdn.com/v4/letter/g/2acd7d/32.png) [@Gehova](https://forum.rasa.com/u/Gehova)\
**Post date:** [November 4, 2019, 3:56pm UTC](https://forum.rasa.com/t/can-i-trigger-a-folloupaction-and-slotset-in-the-same-function/20868/2 "2019-11-04T15:56:25Z")

</div>

> [@juliamendoim](#):
>
> Is not possible to trigger two events in the same function?

No, it is possible to do it, something like:

```
return[Event1(params), Event2(params), Event3(params)]

```

Test each event individually, there could be an error in one of them.
