Communication

Mailgun integration

retailhub emails invoices for your orders through your Mailgun account. The buyer gets a message with the invoice as a PDF from an address on your domain, and automation rules decide when the invoice goes out, e.g. right after it is issued.

Request access

What the integration does

Invoice as a PDF attachment

The buyer gets an email with the invoice as a PDF at the address saved in the order. It is the same PDF you download from the invoice list, so an invoice sent to KSeF (Poland's National e-Invoicing System) has its QR code on it.

Sending in automation rules

Emailing an invoice is an action in automation rules. The same rule can issue the invoice, send it to KSeF and send it to the buyer right away.

Manual sending, corrections too

You can add a send button to the order or invoice menu and send invoices with one click. From the correction menu you can send the buyer the correction.

Your own subject and text

You write the message subject and body once, as a template. Placeholders fill in the buyer's name, the order number and the invoice number, among others.

Sender on your domain

The message goes out from an address on your sending domain, with the sender name you set, e.g. your shop name. Buyers' replies go to the seller email address on the invoice.

Benefits

No sending invoices by hand

You don't download the PDF and attach it to a message for every order. The invoice reaches the buyer without you doing anything.

Fewer invoice requests

The buyer has the invoice in their inbox right after it is issued, so they write in asking for it less often.

Sending under your control

Messages go out from your Mailgun account. In its logs you can check whether the email with the invoice was delivered.

How it works

1
Set up a domain in Mailgun

In your Mailgun account you add a sending domain, e.g. mg.your-domain.com, verify it with DNS records and create an API key.

2
Add the integration in retailhub

In the integration settings you enter the API key, the sending domain and its region (EU or US).

3
Add invoice sending to a rule

In an automation rule you choose the action that emails the invoice, plus the sender address, subject and body. From then on, invoices reach buyers automatically.

Frequently asked questions

Do I need my own Mailgun account?

Yes. Invoices go out from your account and your sending domain in Mailgun. In retailhub you enter the API key, the domain and the region where the domain was added in Mailgun: EU or US.

Which address does the invoice go to?

To the buyer's email address saved in the order. If the order has no buyer email address, the invoice will not be sent.

Where do buyers' replies go?

To the seller email address shown on the invoice. A sending domain often does not receive mail, and this way the buyer's reply is not lost.

Does emailing the invoice replace KSeF?

No. You still send the invoices that must go to KSeF there. The email with the PDF is a copy of the invoice for the buyer. If a rule first sends the invoice to KSeF and then by email, the attached PDF has the KSeF QR code.

Let's talk about the Mailgun integration

Get in touch to see how retailhub can streamline your sales with Mailgun.

Allegro
eBay
Erli
Empik
Other