• Resolved sag982384

    (@simongiaccottonl)


    Hi, if someone buys a specific product while being logged in, they get an e-mail. I made that flow work. But when someone has no account (Anonymous), I can’t get it work because I have to choose betwoon Existing or New user. I don’t understand the concept. I just want them to get an e-mail, even of they have no account.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor Paco González Pérez

    (@pacogon)

    Hi @simongiaccottonl!!

    In this case you will have to use anonymous Automations where it will ask you to create a new user defining the email account to be able to send the email.
    In this link we explain how to create anonymous automations for users that do not yet exist. https://automatorwp.com/docs/getting-started/anonymous-automations/

    Hope it helps!

    Thread Starter sag982384

    (@simongiaccottonl)

    OK, but what do I fill in at “username” and “email”? It has to be the e-mail of the anonymous client offcource. If I fill in a random username, then all the anonymous users will get the same random name wright?

    Plugin Contributor Paco González Pérez

    (@pacogon)

    Hi @simongiaccottonl !

    You can do the following:
    1 – Select “Existing User”
    2 – Select an account that you know will always exist, such as the admin account or one that user as “default” or “bot”, for automations of this type
    3 – In the email, put the data that the guest entered in the purchase.

    In this way you always select the same user but the eamil is sent to different users.

    Hope it helps!

    Thread Starter sag982384

    (@simongiaccottonl)

    Thank you. For step 3: how do I get his e-mail address? It looks like I have to fill it in manualy. I would like the address filled in automaticly.

    Plugin Contributor Paco González Pérez

    (@pacogon)

    Hi @simongiaccottonl !

    When you use a WooCommerce trigger you have tags to access the order information that the user has entered, including their email.

    Hope it helps!

    Plugin Contributor Paco González Pérez

    (@pacogon)

    Hi @simongiaccottonl !

    In this link you have the documentation where we explain the operation of the tags https://automatorwp.com/docs/getting-started/tags/

    Hope it helps!

    Thread Starter sag982384

    (@simongiaccottonl)

    After some testing it worked. For the people who wants to know:
    1. Woocommerce trigger Guest purchases [name product] 1 times(s)
    2. Action will be run on New user
    a. username: [username] | This has to be an existing user, always the same one
    b. e-mail: {3:woocommerce_order_billing_email}
    c. leave all the other fields untouched
    d. What to do if the user already exists: Select existing user
    e. Field to search the user: Username
    3. WordPress action: Send an email to {3:woocommerce_order_billing_email}

    Plugin Contributor Paco González Pérez

    (@pacogon)

    Hi @simongiaccottonl !

    I’m glad that it works for you, if you have any other questions, contact us here or you can also open a ticket from this url.
    https://automatorwp.com/contact-us/

    ??

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Sending mail to Anonymous after purchasing product. How?’ is closed to new replies.