Campaign not triggered second time it is called

Hi. I have a form to collect only the subscriber’s email, having the actions:


  • Modify contact’s tags: adding the “Pending” tag to the contact
  • Send email to contact: I am sending the email asking the contact to click the link to confirm the subscription
  • Modify contact’s segments: Add contact ot the “Pending Confirmation” segment



    Then, I have a (confirmation) campaign, based on the “Pending Confirmation” segment, with the following tasks:


  1. Decision-Visits a page: When the contact clicks the link, this task should be true



    If item 1 is true:
  2. Contact segments: Check if contact is already in the “Confirmed” segment



    If item 2 is true:
  3. Send email to contact saying that he/she is already subscribed
  4. Remove contact from “Pending Confirmation” segment
  5. Remove “Pending” tag from contact



    If item 2 is false:
  6. Send welcome email to contact
  7. Move subscriber to “Confirmed” segment and remove contact from “Pending Confirmation” segment
  8. Add tag “Confirmed” to the contact and remove tag “Pending” from subscriber



    As you can see, I am doing a double optin process for my contacts. I am using a “Standalone” form because my hosting provider only allow me to run cron jobs with a minimum frequency of 15 minutes, and since I don’t want the contact to wait up to 15 minutes to receive the confirmation email, and 15 minutes more to receive the welcome email, configure the form to send the email right away.



    The problem:

    Everything works fine when a new contact subscribes to the list, however if the contact tries to subscribe the same form again, the actions configured in the form works perfectly, but the campaign doesn’t get the action. I thought that for the second time I should wait for the campaign trigger, but that didn’t happen either. I tried many, many, many times. I delete the contact and the first subscription everything works fine. The second subscription, the campaign doesn’t capture the confirmation trigger.



    As I said, I could try creating a “Campaign” form, instead of a “Standalone” form, but then I would have to leave the contact wait up to 30 minutes to get the welcome email, something that I can’t have.



    Any idea on what is going on? Is that an expected behavior?



    Appreciate any help. Thanks in advance!

    Rob

Hi. I have a form to collect only the subscriber’s email, having the actions:

  • Modify contact’s tags: adding the “Pending” tag to the contact
  • Send email to contact: I am sending the email asking the contact to click the link to confirm the subscription
  • Modify contact’s segments: Add contact ot the “Pending Confirmation” segment

Then, I have a (confirmation) campaign, based on the “Pending Confirmation” segment, with the following tasks:

  1. Decision-Visits a page: When the contact clicks the link, this task should be true

If item 1 is true:
2. Contact segments: Check if contact is already in the “Confirmed” segment

If item 2 is true:
3. Send email to contact saying that he/she is already subscribed
4. Remove contact from “Pending Confirmation” segment
5. Remove “Pending” tag from contact

If item 2 is false:
6. Send welcome email to contact
7. Move subscriber to “Confirmed” segment and remove contact from “Pending Confirmation” segment
8. Add tag “Confirmed” to the contact and remove tag “Pending” from subscriber

As you can see, I am doing a double optin process for my contacts. I am using a “Standalone” form because my hosting provider only allow me to run cron jobs with a minimum frequency of 15 minutes, and since I don’t want the contact to wait up to 15 minutes to receive the confirmation email, and 15 minutes more to receive the welcome email, configure the form to send the email right away.

The problem:
Everything works fine when a new contact subscribes to the list, however if the contact tries to subscribe the same form again, the actions configured in the form works perfectly, but the campaign doesn’t get the action. I thought that for the second time I should wait for the campaign trigger, but that didn’t happen either. I tried many, many, many times. I delete the contact and the first subscription everything works fine. The second subscription, the campaign doesn’t capture the confirmation trigger.

As I said, I could try creating a “Campaign” form, instead of a “Standalone” form, but then I would have to leave the contact wait up to 30 minutes to get the welcome email, something that I can’t have.

Any idea on what is going on? Is that an expected behavior?

Appreciate any help. Thanks in advance!
Rob

Hey Rob!

It’s expected. When you add a contact to a campaign, Mautic queues up all the campaign actions immediately. What is in place when they are first added to the campaign is the way it will play out.

What you could do is create a new campaign for those who have already confirmed. Then, at step 2 of your current campaign, if they have already confirmed, change the contacts campaigns to remove them from that campaign and add them to the new campaign.

It won’t apply to anyone who has already been through the first campaign but it will apply to subsequent subscribers.

Hi @medianicus,

Thanks a lot for taking your time to help me. Really appreciate. I understand now what is going on behind the curtains… Makes sense now, but defeats my intention. What I was trying to do is someone who subscribes again for the same campaign (by mistake or because the email is taking too long to arrive, since my cron interval is 15 minutes). Since I first add the contact to the pending segment, it will stay there forever, since the confirmation campaign won’t be triggered…

I will play around here and see if I am lucky somehow finding an alternative solution…

Having the double optin natively in Mautic would help a million…

Thanks again!
Rob