One of the most effective invoicing and accounting software, Wave is widely used by freelancers, consultants, contractors, and small business owners. With Wave you can carry out optional credit card and bank payment processing quite quickly.
Mailgun is the email automation engine trusted by over millions of websites and application developers for sending, receiving and tracking emails.
Mailgun IntegrationsMailgun + Wave
Create Product or Service to Wave from New Unsubscriber in Mailgun Read More...Mailgun + Wave
Record Transaction in Wave when New Unsubscriber is created in Mailgun Read More...It's easy to connect Wave + Mailgun without coding knowledge. Start creating your own business flow.
Triggers when a new customer is added to a business you choose.
Triggers when a new invoice is created.
Triggers whenever a new subscriber is added.
Triggers when a current subscriber unsubscribed.
Creates a customer in a business that you choose.
Creates a new invoice.
Creates a product or service in a business that you choose.
Records a transaction in a business.
Update a customer in a business that you choose.
(30 seconds)
(10 seconds)
(30 seconds)
(10 seconds)
(2 minutes)
Mailgun is a web service that allows you to send, receive, and track email through RESTful API. It is an email service provider which helps you to design the email templates. It takes care of the delivery too. It provides you with an excellent web interface, so you can customize your website’s form to send rich HTML email. Mailgun also provides tracking for all emails that are sent out through its platform. You can use Mailgun in any programming language that supports HTTP requests. When using Mailgun, your data is fully encrypted at rest and in transit, so you can send emails without worrying about customers’ information being compromised.
Wave is a real-time messaging platform. Wave apps are written in JavaScript and designed to be flexible and fast. It allows users to create applications like dashboards, discussions, surveys, notifications, etc. Wave apps are hosted online and work across the web, desktop, or mobile devices; you can also download them as standalone apps for iOS or Android.
We chose to implement Wave and Mailgun because we wanted to be able to send rich formatted HTML emails to our customers easily using our own platform. We also chose to use Wave because we wanted to be able to send notifications across our entire platform; not just our website but also our mobile app.
To integrate Wave and Mailgun, you need to fplow these steps:
Register yourself on www.mailgun.com. Once logged in, you will be presented with the dashboard page. Click on the ‘Sign up for free’ link on the top right corner of the page to continue. To complete registration, fill in your business name, domain name and select ‘No Billing Info Required’ from the drop-down menu under ‘Pricing Plan’. Enter your contact information and click on ‘Create Free Account’ button to finish registration.
After you have created an account for your business name, Mailgun will provide you with a ‘API Key’, which is a key that resembles a string of alphanumeric characters. This key is used by your application to establish a secure connection between your application and Mailgun servers. If you want to add more keys for other users in your organization, then go to ‘My Account’ from the top menu bar and select ‘Manage Keys’ option from the drop-down menu on the left side of the screen. In the ‘Manage Keys’ screen shown below, add more keys for corresponding username and click on ‘Add Key’ button once done.
Now that we have created an API key for our Mailgun account, we need to authorize Wave to use this key when sending emails through Mailgun server. To do this, click on ‘Login’ link from the top right corner of the webpage and sign into your Wave account. Once logged in, go to the ‘Apps’ section from the top menu bar and select ‘Add an App’ option from the drop-down menu on the left side of the screen. Fill in your app name (in this case we chose ‘Mailgun’), enter your app description and click on ‘Create App’ button at the bottom of the page to finish creating your app. Once created, click on ‘View App’ link from the left side menu of the screen and then add a new app key by clicking on add key button under ‘App Settings’ section of “App Key” tab shown below. Copy the key shown in the screenshot below and paste it into your code later when we integrate Wave and Mailgun in steps 5 and 6 below:
Use Mailgun API in Wave App. Use Mailgun API in Wave App. http://api.mailgun.net/v2/YOUR_DOMAIN_HERE/messages?api_key=YOUR_API_KEY_HERE Example. http://api.mailgun.net/v2/waveapps.com/messages?api_key=<YOUR_API_KEY>&to=<EMAIL_ADDRESS>&from=<YOUR_DOMAIN_NAME>&subject=<SUBJECT_LINE>&body=<BODY_OF_THE_EMAIL>&template=http%3A%2F%2Fthemes%2Ewaveapps%2Ecom%2Fwavetheme%2Fslate%2Fslate%2Ecss&attachments=myfile1%5Cattach1 &attachments=myfile2%5Cattach2 Here is what each parameter means. Parameter Description api_key Your API key provided by Mailgun domain Your domain name (for example wavesappshq. to Email address(es. (separated by comma. from Email address(es. (separated by comma. subject Subject line (in bpd below. body Text of email (in italic below. template URL of your template (in bpd below. attachments File(s. attached to the email (separated by comma. For example. http://api.mailgun.net/v2/waveapps.com/messages?api_key=<YOUR_API_KEY>&to=<EMAIL_ADDRESS>&from=<YOUR_DOMAIN_NAME>&subject=<SUBJECT_LINE>&body=<BODY_OF_THE_EMAIL>&template=http%3A%2F%2Fthemes%2Ewaveapps%2Ecom%2Fwavetheme%2Fslate%2Fslate%2Ecss&attachments=myfile1%5Cattach1&attachments=myfile2%5Cattach2 Note. All parameters are separated by comma except for attachments parameter which is separated by space between each attachment name For example. myfile1attach1 myfile2attach2 Let us now take a look at how we can integrate Mailgun with Wave App using Python code snippets below. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 import time import json import wave import waveforms import requests import string import datetime import pprint class msgSend ( object ). def __init__ ( self , mailGun , w = None ). if w is None . w = waveforms . Wave (. self . message = self . m . read (. self . timestamp = datetime . datetime . now (. self . html = self . m . text . replace ( "<" , "<" . self . html = self . html . replace ( ">" , ">" . self . html = self . html . replace ( '"' , "'" . self . html = self . html . replace ( '&' , '&' . self . html = self . html . replace ( '"' , "'" . self . html = self . html . replace ( "`" , "*" . self . html = self . html . replace ( "~" , "~" . if not len ( self . html ). return False self . headers = { "X-MailGun-MessageID" . str ( val ), "X-MailGun-MIME-Version" . "1.0" , "X-MailGun-Content-Type" . "text/html; charset=utf-8" , "X-MailGun-Subject" . str ( val ), "X-MailGun-From" . str ( val ), } try . token = requests . post ( 'https://api.mailgun.net/v3/YOUR_DOMAIN_HERE/oauth/token' , auth = ( < YOUR EMAIL > , < YOUR PASSWORD > ), data = { "grant_type" . "client_c
The process to integrate Wave and Mailgun may seem complicated and intimidating. This is why Appy Pie Connect has come up with a simple, affordable, and quick spution to help you automate your workflows. Click on the button below to begin.