# Gibt es Unterstützung für die Sendy-Integration mit Discourse?

**URL:** https://meta.discourse.org/t/any-support-for-sendy-integration-with-discourse/98755
**Category:** WordPress
**Created:** [4. Oktober 2018 um 21:46 UTC](https://meta.discourse.org/t/any-support-for-sendy-integration-with-discourse/98755 "2018-10-04T21:46:23Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![rootsh3ll](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rootsh3ll/32/119507_2.png) [@rootsh3ll](https://meta.discourse.org/u/rootsh3ll)
#### Post date: [4. Oktober 2018 um 21:46 UTC](https://meta.discourse.org/t/any-support-for-sendy-integration-with-discourse/98755/1 "2018-10-04T21:46:23Z")

</div>

I am looking for an integration between **Sendy** (A self hosted email clients that uses Amazon SES for sending emails) with **Discourse**. So that whenever a person makes a purchase on my wordpress blog. S/he is **automatically sent an invitation for a specific discourse group** (based on the item purchased) via email.

I couldn’t find anything even on Zapier. Is anyone aware of anything, any script or tool that uses Sendy or Discourse API to achieve this?

This will not only save a lot of money, but time to manually send invitations to each customer as well,

---

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [4. Oktober 2018 um 22:07 UTC](https://meta.discourse.org/t/any-support-for-sendy-integration-with-discourse/98755/2 "2018-10-04T22:07:42Z")

</div>

I’m not familiar with Sendy, or with how it is integrated with your WordPress site, but there seems to be Zapier support for Sendy that can be triggered when a subscriber is added to a mailing list: [Sendy Integrations | Connect Your Apps with Zapier](https://zapier.com/help/sendy/).

If you can get WordPress/Sendy/Zapier integration working, you can automate invites by having Zapier create a `POST` request to `https://forum.example.com/invites` when a user is added to the list. An example curl request for creating an invite looks like this, with `$api_key` set to your All Users API Key. Set the `api_username` to the username of an admin on your site:

```plaintext
curl -X POST -d "api_key=$api_key&api_username=simon&email=inviteduser@example.com&group_names=your_group_name" https://forum.example.com/invites

```

You can test this out with curl or [Postman](https://www.getpostman.com/) before trying to set it up with Zapier.

---

<div class="post-metadata">

### Author: ![rootsh3ll](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rootsh3ll/32/119507_2.png) [@rootsh3ll](https://meta.discourse.org/u/rootsh3ll)
#### Post date: [4. Oktober 2018 um 22:24 UTC](https://meta.discourse.org/t/any-support-for-sendy-integration-with-discourse/98755/3 "2018-10-04T22:24:25Z")

</div>

That’s exactly what I was looking for!  
I still won’t prefer Zapier since that’s adding an unnecessary pivot to my clean architecture. But the curl command is 100% useful. I can atleast make a custom shell script or use sendy’s API to make this request.

I will update this thread with the script once I get this done. thanks a lot @simon 🙂

---

<div class="post-metadata">

### Author: ![hjalali](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hjalali/32/181824_2.png) [@hjalali](https://meta.discourse.org/u/hjalali)
#### Post date: [15. Mai 2020 um 17:28 UTC](https://meta.discourse.org/t/any-support-for-sendy-integration-with-discourse/98755/4 "2020-05-15T17:28:47Z")

</div>

> [@rootsh3ll](#):
>
> Ich werde diesen Thread mit dem Skript aktualisieren, sobald ich das erledigt habe. Vielen Dank, @Simon\_Cossar 🙂

Ich würde gerne wissen, ob du das jemals geschafft hast, @rootsh3ll
