• Resolved syrniki

    (@syrniki)


    Hello. I’m using SendPulse service for automated emails for my online school. The service has the SendPulse for WooCommerce plugin that sends names and email addresses to the service when a client buys smth. Now, in order to set automated emails I need to have additional variables like product ID or product name.

    For example I’ve sent a few automated emails and a client bought my course. Since they did buy it, they need to stop receiving emails that motivate them to buy the course and need to be moved to another mailing list so that I could offer them smth else. To do so I need to send the product ID or product name to that service. That’s what the service’s tech support told me.

    I found the web hook option in WooCommerce settings that theoretically could solve this problem but I don’t understand it completely and I still don’t know the exact name of the variables (its correct spelling?) that I should use for that.

    I would appreciate any suggestions on fixing that. Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter syrniki

    (@syrniki)

    Anybody? ??

    Hi @syrniki,

    It is possible to use a webhook to send information to another server when an order is created. It contains quite a bit of information and the other server needs to be set up to receive the information.

    Most likely you’ll need to find a plugin that specifically connects WooCommerce with this service in order for this to work. If one doesn’t already exist, you’d need to get that created. There are freelance developers available at Codeable who could do that for you.

    https://woocommerce.com/codeable/

    If you can’t find an off-the-shelf plugin that does this for you and you’d rather not have a custom one paid, the other option would be to switch to a service that has tighter integration with WooCommerce like MailChimp. There are extensions that can connect your WooCommerce store to MailChimp so that customers are placed in the correct segments and so on.

    Let us know if you have any questions

    Thread Starter syrniki

    (@syrniki)

    Thank you. As I understand, to use a webhook I need to know the correct writing of the variables I want to send to the server. My question is – how I can find out its correct writing?

    mother.of.code

    (@imazed)

    The Mother of Code

    Hi there!

    You can find the REST API documentation here: https://woocommerce.github.io/woocommerce-rest-api-docs/#introduction – it contains all the information you are looking for ??

    Hey @syrniki,

    She’s absolutely right. You may also find it helpful to set up a test webook using the https://webhook.site/ service. (It’s free).

    That way you can see the exact data sent by the topic you’re using. I’ve done that in the past so I could see how it was formatted so I’d know what to pull out of it.

    Plugin Support EtienneP a11n

    (@etiennep)

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Variables and automated emails’ is closed to new replies.