Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount! Get 20% off now with code SPOOKY-2024!

AcyMailing Newsletter automatically using CB Auto Actions

8 years 4 days ago #287252 by RebelFlicks
From another post "you can subscribe them to newsletters automatically using CB Auto Actions."

Could you explain how to do this. I came across a tutorial for auto adding users at registration to a user group, but not to an Acymailing newsletter. I think Acymailing plugin adds a newsletter list choice at registration, but we want users/user groups added to their newsletters automatically.

User is assigned to user group at registration:

Usergroup1
Usergroup2
Usergroup3

Each has a newsletter:

Newsletter1 for Usergroup1
Newsletter2 for Usergroup2
Newsletter3 for Usergroup3

Acymailing has 3 lists:

List1
List2
List3


Thank you

Please Log in or Create an account to join the conversation.

8 years 4 days ago - 8 years 4 days ago #287253 by RebelFlicks
I may have figured it out. Sort of. Changing "Type" on "Global" tab to "Acymailing" changed the "Action" options. Cool beans.

Would this be correct:

onAfterUserRegistration (Or onAfter being added to a usergroup?)

[usergroup] Equals To usergroup1

Subscribe Newsletter1
Last edit: 8 years 4 days ago by RebelFlicks.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48454
  • Thanks: 8280
  • Karma: 1443
8 years 4 days ago #287273 by krileon

onAfterUserRegistration (Or onAfter being added to a usergroup?)

That trigger is correct.

[usergroup] Equals To usergroup1

This isn't correct. You don't need a condition at all. Under Global configure the Access to the usergroup you want to match against. However, if you're adding usergroups in another action before this one you'll need to turn on Reload User under the Parameters tab.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: nant

Please Log in or Create an account to join the conversation.

8 years 4 days ago - 8 years 4 days ago #287299 by RebelFlicks
Just to verify I did this correctly:

Global Triggers: onAfterUserRegistration
Access: Usergroup1
No Conditions
Action Subscribe Newsletter1
Parameters Reload User: Yes

So with 2 actions per group, users are assigned to a group and subscribed to a newsletter. This takes place upon registration? What about current users? Do I need to execute the action?
Last edit: 8 years 4 days ago by RebelFlicks.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48454
  • Thanks: 8280
  • Karma: 1443
8 years 3 days ago #287318 by krileon

So with 2 actions per group, users are assigned to a group and subscribed to a newsletter. This takes place upon registration?

Yes, that's correct. Just ensure the action giving them usergroups is ordered before the action subscribing them to a newsletter as execute order is important for actions.

What about current users? Do I need to execute the action?

Won't do anything for current users. You'll need to manually add their usergroups and subscribe them to newsletter.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum