# Is there a limit for events per campaign?

**URL:** <https://forum.mautic.org/t/is-there-a-limit-for-events-per-campaign/3597>\
**Category:** Product Support\
**Created:** [April 26, 2016, 8:27am UTC](https://forum.mautic.org/t/is-there-a-limit-for-events-per-campaign/3597 "2016-04-26T08:27:10Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![mario](https://avatars.discourse-cdn.com/v4/letter/m/8e7dd6/32.png) [@mario](https://forum.mautic.org/u/mario)\
**Post date:** [April 26, 2016, 8:27am UTC](https://forum.mautic.org/t/is-there-a-limit-for-events-per-campaign/3597/1 "2016-04-26T08:27:10Z")

</div>

Is there a limit for events per campaign?  
  
  
  
I am working on a campaign, I created a part, but now when I insert a new event and close the builder, Mautic start to load and doesn’t close the builder so I cannot save the campaign.

---

<div class="post-metadata">

**Author:** ![mario](https://avatars.discourse-cdn.com/v4/letter/m/8e7dd6/32.png) [@mario](https://forum.mautic.org/u/mario)\
**Post date:** [April 26, 2016, 8:27am UTC](https://forum.mautic.org/t/is-there-a-limit-for-events-per-campaign/3597/2 "2016-04-26T08:27:11Z")

</div>

Is there a limit for events per campaign?

I am working on a campaign, I created a part, but now when I insert a new event and close the builder, Mautic start to load and doesn’t close the builder so I cannot save the campaign.

---

<div class="post-metadata">

**Author:** ![lwdeddie](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/lwdeddie/32/755_2.png) [@lwdeddie](https://forum.mautic.org/u/lwdeddie)\
**Post date:** [September 26, 2016, 7:37pm UTC](https://forum.mautic.org/t/is-there-a-limit-for-events-per-campaign/3597/3 "2016-09-26T19:37:20Z")

</div>

Same here. It’s like the campaign is too large and it will not save anymore.

---

<div class="post-metadata">

**Author:** ![ultroconsulting](https://avatars.discourse-cdn.com/v4/letter/u/919ad9/32.png) [@ultroconsulting](https://forum.mautic.org/u/ultroconsulting)\
**Post date:** [September 26, 2016, 9:17pm UTC](https://forum.mautic.org/t/is-there-a-limit-for-events-per-campaign/3597/4 "2016-09-26T21:17:42Z")

</div>

Hi,

Got the same issue as well. But It seems intermittent. After page refresh, opening campaign builder and doing the edit again, I was able to close campaign builder and save the campaign. However I had to do this several times while working on the same campaign.

I confirm that I encountered this issue only while setting up a lengthy/large campaign.

Vik

---

<div class="post-metadata">

**Author:** ![lwdeddie](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/lwdeddie/32/755_2.png) [@lwdeddie](https://forum.mautic.org/u/lwdeddie)\
**Post date:** [September 27, 2016, 12:28pm UTC](https://forum.mautic.org/t/is-there-a-limit-for-events-per-campaign/3597/5 "2016-09-27T12:28:22Z")

</div>

Agreed. It stops saving changes but I can’t tell WHEN it stops saving until I try to exit. I then have to refresh and re-enter the campaign builder to find out exactly what was saved. After that its only safe to add 1 or 2 items at a time before closing and saving again. It becomes painful to work with. I’m even trying to find ways to shorten my campaigns to avoid this, which is not a good thing.

I’m going to try to logout and delete cache to see if that changes anything going forward.

---

<div class="post-metadata">

**Author:** ![Tony\_Gavin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/tony_gavin/32/2440_2.png) [@Tony\_Gavin](https://forum.mautic.org/u/Tony_Gavin)\
**Post date:** [November 5, 2016, 5:00pm UTC](https://forum.mautic.org/t/is-there-a-limit-for-events-per-campaign/3597/6 "2016-11-05T17:00:09Z")

</div>

I am having the same issue. It’s a large campaign with many decisions and actions. All of a sudden, the campaign appears to save, but when I go back to the campaign the red / green links are missing. I initially suspected a server config issue and looked for timeouts, limits, etc. Nothing. Nothing in the Mautic error logs either.

Has this been resolved or do we need to open an issue on Github?

---

<div class="post-metadata">

**Author:** ![Tony\_Gavin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/tony_gavin/32/2440_2.png) [@Tony\_Gavin](https://forum.mautic.org/u/Tony_Gavin)\
**Post date:** [November 6, 2016, 12:13am UTC](https://forum.mautic.org/t/is-there-a-limit-for-events-per-campaign/3597/7 "2016-11-06T00:13:41Z")

</div>

There appears to a limit of 100 decisions / actions per campaign. I have reported this as a bug on Github. Please comment to lend weight having this fixed. 100 is far too few decisions / actions.

[https://github.com/mautic/mautic/issues/2899](https://github.com/mautic/mautic/issues/2899)

---

<div class="post-metadata">

**Author:** ![Tony\_Gavin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/tony_gavin/32/2440_2.png) [@Tony\_Gavin](https://forum.mautic.org/u/Tony_Gavin)\
**Post date:** [November 6, 2016, 5:11am UTC](https://forum.mautic.org/t/is-there-a-limit-for-events-per-campaign/3597/8 "2016-11-06T05:11:13Z")

</div>

I have created a work around for this and appears to be working fine. This assumes that you are sending multiple emails in a sequence, perhaps after a lead capture event. Here’s a link to the workaround.

[http://e-marketing.com.au/marketing-automation-news/25-large-mautic-campaigns-workaround-for-100-action-decisions-limit](http://e-marketing.com.au/marketing-automation-news/25-large-mautic-campaigns-workaround-for-100-action-decisions-limit)

---

<div class="post-metadata">

**Author:** ![FelipeVilas](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/felipevilas/32/11057_2.png) [@FelipeVilas](https://forum.mautic.org/u/FelipeVilas)\
**Post date:** [February 5, 2024, 8:51pm UTC](https://forum.mautic.org/t/is-there-a-limit-for-events-per-campaign/3597/9 "2024-02-05T20:51:00Z")

</div>

Hi Tony, the link is off.

How did you workaround it?

Edit:

> **[Large Mautic Campaigns – Workaround for 100 Action / Decisions Limit](https://www.linkedin.com/pulse/large-mautic-campaigns-workaround-100-action-decisions-tony-gavin/)**
>
> This post is for people experiencing difficulty with building larger campaigns (more than 100 decisions / actions) with Mautic. The problem with Mautic Decisions & Actions By default it appears that Mautic (as at version 2.

---

<div class="post-metadata">

**Author:** ![FelipeVilas](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/felipevilas/32/11057_2.png) [@FelipeVilas](https://forum.mautic.org/u/FelipeVilas)\
**Post date:** [February 5, 2024, 9:12pm UTC](https://forum.mautic.org/t/is-there-a-limit-for-events-per-campaign/3597/10 "2024-02-05T21:12:58Z")

</div>

**SOLUTION**

### 

**[htbock](https://github.com/htbock)** commented [on Mar 2, 2019](https://github.com/mautic/mautic/issues/6450#issuecomment-468911424) •

edited

Hello everybody,  
I think this is just a php setting that needs to be changed, namely, you just have to increase the the number of max\_input\_vars in php.ini. I changed the line in my php.ini from

- max\_input\_vars=1000 to
- max\_input\_vars=3000

and my problem immediately disappeared. I have a self hosted Mautic instance on a VPS.

Hope this helps.

* * *

### 

**[fullofcaffeine](https://github.com/fullofcaffeine)** commented [on Mar 12, 2019](https://github.com/mautic/mautic/issues/6450#issuecomment-472207208) •

edited

This is a BIG blocker for campaigns that function as plain sequential autoresponders (i.e send one email after another, a relative wait time of 1 day). I have a blog with over 300 notification emails and while migrating these email notifications over to Mautic, I faced this issue.

Is there a better way to handle autoresponder? Is there a fix for this already?

**EDIT** : I’ve tried [@htbock](https://github.com/htbock)’s solution and I can confirm it works - I can save the \> 100 nodes campaign now. You do have to remember to restart apache2 (or whatever webserver you’re using) and or add it to the other `php.ini` for the other PHP installations that are installed in your system, by that I mean for `cli` and possibly `php-fpm` alongside `apache2`. `cli` might be imporant as Mautic cronjobs run off that, and even though you’re able save, it _might_ fail when parsing and execution the campaigns, can’t confirm, but that might be the case.

I hope that besides saving, this also allows the campaign to execute successfully until the end…

---

<div class="post-metadata">

**Author:** ![Tony\_Gavin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/tony_gavin/32/2440_2.png) [@Tony\_Gavin](https://forum.mautic.org/u/Tony_Gavin)\
**Post date:** [February 6, 2024, 12:07am UTC](https://forum.mautic.org/t/is-there-a-limit-for-events-per-campaign/3597/11 "2024-02-06T00:07:06Z")

</div>

I’m not using Mautic anymore, so I can’t say if this is still relevant or not, but the post is still live here: [https://tonygavin.com/large-mautic-campaigns-workaround-for-100-decisions-actions-limit/](https://tonygavin.com/large-mautic-campaigns-workaround-for-100-decisions-actions-limit/)

Good luck with it!

---

<div class="post-metadata">

**Author:** ![FelipeVilas](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/felipevilas/32/11057_2.png) [@FelipeVilas](https://forum.mautic.org/u/FelipeVilas)\
**Post date:** [February 6, 2024, 1:01pm UTC](https://forum.mautic.org/t/is-there-a-limit-for-events-per-campaign/3597/12 "2024-02-06T13:01:29Z")

</div>

Thank you very much for your attention after such a long time.

I have already found a solution, which I’ve left above for anyone who might need it.
