• Resolved nyodulf

    (@nyodulf)


    Hi, thanks for the great plugin ??

    What I want to do is send an email to subsets of registered site users and include each user’s name in the email body. The twist is that the subset of users is never the same, so I need to dynamically determine the correct name to pair with each recipient email in the list.

    Is that possible with this plugin? If so, I’d be grateful for any documentation pointers that would get me started in the right direction.

    Thanks

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Kuba Mikita

    (@kubitomakita)

    Hi, thanks for the kind words!

    Unfortunately, that’s the main drawback of our plugin at the moment, but I just figured out how we could implement that feature pretty easily.

    We’ll probably add that feature within a next month or so, in the next bigger release.

    Plugin Author Kuba Mikita

    (@kubitomakita)

    A sneak-peak on how this will work:

    In the email body you’ll be able to use a special merge tag {recipient $field}. So this could be {recipient ID} or {recipient firstname} or even a custom meta with our Custom Fields extension: {usermeta {recipient ID} _meta_key}.

    In the background, it’d take the recipient email, search for this user in the database and if there is an user with this email, it’d pull all the necessary data.

    Thread Starter nyodulf

    (@nyodulf)

    Thanks – that sounds great!

    Would this open up the possibility of customising it to apply any individualised piece of data to a group of recipients? For example: “Dear {first_name}, Your {order_title} has been dispatched.”?

    Plugin Author Kuba Mikita

    (@kubitomakita)

    Oh, yes, you’ll be able to combine it with any trigger and other merge tags ??

    Thread Starter nyodulf

    (@nyodulf)

    Cool, but just to be clear: I meant cases where {order_title} would be different for each user, just like {first_name}

    Plugin Author Kuba Mikita

    (@kubitomakita)

    I see. You’ll need an order-specific trigger then! Like order status changed. If you’re using WooCommerce, we have a WooCommerce extension that provides such triggers.

    The whole idea of the plugin is to have a contextual trigger that hooks to a specific action. This provides the merge tags because we know what order is being updated or placed.

    Thread Starter nyodulf

    (@nyodulf)

    Damn, I knew using orders as an example might come back to haunt me!

    The example was not meant to imply woocommerce at all, sorry! What I am getting at is this:

    Say I have some list of email addresses to which I want to send emails, and I also have a list of values for each email that should be entered into the same position of the body of each email. Maybe the simplest version would be just “First Name”, but in a situation where the email addresses are not users on the system… In that scenario, would I be able to use Notification to say “Here are the recipient addresses, here is the content; and here is a list of values to replace the content tokens for each address”?

    Plugin Author Kuba Mikita

    (@kubitomakita)

    Ohh, basically no, this isn’t how this plugin is intended to work. The closest would be to create a custom trigger and for the set of data invoke the action with the proper context.

    We’re looking forward to this feature very much as well, especially if it could be used in combination with custom merge tags.
    We need to generate user specific content depending on the recipient, so we’d need access to the recipient email in the resolver function.
    1+ for this and thanks for the nice plugin!

    Plugin Author Kuba Mikita

    (@kubitomakita)

    Thanks @localmedia. If you like the plugin please spare 1 minute to review it, thanks!

    Hey Kuba,

    Any idea where this feature is in the pipeline and when it might be released?

    It’s the one thing holding us back from getting the plugin!

    Plugin Author Kuba Mikita

    (@kubitomakita)

    Hey, unfortunately, no idea when this will get released. It’s definitely a long-term update.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Possible to send personalised notification to multiple users from one trigger?’ is closed to new replies.