Popular Square + Mailgun flows

Start from a real workflow other teams are already running.

Choose a trigger

Square logo

Square

When this happens...

Choose an action

Mailgun logo

Mailgun

Automatically do this!

Full list

Supported Triggers & Actions

Everything you can automate between Square and Mailgun.

When this happensTriggers

A trigger is an event that starts a workflow.

New Customer Created

New Customer Created

Triggers when a new customer is created.

New Payment Created

New Payment Created

Triggers when a new payment is created.

Payment Updated

Payment Updated

Triggers when a payment is updated.

Order Updated

Order Updated

Triggers when a order is updated.

Customer Updated

Customer Updated

Triggers when a customer is updated.

Refund Created

Refund Created

Triggers when a refund is created.

Do thisActions

Action is the task that follows automatically within your Square integrations.

Update a Customer

Update a Customer

Update an existing customer

Add customer to a group

Add customer to a group

Add a customer to a specified group

Create Customer

Create Customer

Create a new customer

Find Customer

Find Customer

Search for a customer by email, phone, company or name.

Remove Customer From Group

Remove Customer From Group

Removes a customer from a group.

Create Customer Group

Create Customer Group

Create a new customer group.

How to build your first workflow with viaSocket
2-Minute Guide

Learn how to build your first workflow

Follow a simple walkthrough to create, test, and launch your first automation.

  1. 1

    Connect your apps

    Link the apps you want to automate.

  2. 2

    Configure your workflow

    Set up triggers, actions, and map your data.

  3. 3

    Test & publish

    Test your workflow and publish it.

Trusted by Thousands. Recognized by the Best.

Recognized by leading review platforms and trusted by 10,000+ businesses worldwide.

Workflow: Auto Close Inactive viaSocket Connections
YOU
AI Workflow Builder

From idea to automation.
AI will build it for you

Just describe the task in plain English. viaSocket AI selects the right apps, builds the workflow, maps the fields, and prepares everything for review before you publish.

No coding required|Review before publishing|Works with 2,000+ apps
Create with AI

Need help building your workflow?

Get help instantly from AI or reach out to our support team.

viaSocket Support

We're here to help

Online
Support agent
What can I help you with?
How can I set trigger?
10:30 AM ✓

Instant answers

AI assistant available 24/7

Expert support

Connect with our specialists

Trusted & secure

Your data is safe with us

Start automating Square and Mailgun free

No credit card required. Set up your first workflow in minutes.

Integrations Square
Square + Mailgun
Square logo

About Square

Square is a comprehensive platform that offers a range of tools and services for businesses, primarily focusing on payment processing, point-of-sale solutions, and financial services.

Learn more
Integrations Mailgun
Mailgun + Square
Mailgun logo

About Mailgun

Mailgun is a powerful email delivery service that provides developers with a reliable and scalable platform for sending, receiving, and tracking emails. It offers robust APIs for seamless integration, ensuring high deliverability and performance for transactional and marketing emails.

Learn more

Frequently Asked Questions

How do I connect Square and Mailgun?

Sign up for a free viaSocket account, then authorize both your Square and Mailgun accounts. From there, pick a trigger in one app and an action in the other. Your first workflow can be live in under five minutes.

Does this integration work in real time?

Yes. viaSocket uses instant triggers where available, so data moves between Square and Mailgun as soon as the event happens. Scheduled polling triggers run at a maximum interval of 15 minutes.

Can I control which data gets sent from Square to Mailgun?

Yes. You can map specific fields, apply filters to skip records that do not match your conditions, and transform values before they reach Mailgun. No coding required.

Can the integration run in both directions?

Yes. You can set up a workflow where Square triggers actions in Mailgun, and a separate workflow where Mailgun triggers actions in Square. Both run independently and in real time.

What happens if a step in the workflow fails?

viaSocket logs every run so you can see exactly what succeeded and what failed. Failed tasks can be retried from the dashboard without re-configuring the workflow.

Is viaSocket free to use?

Yes, there is a free plan that covers basic workflows between Square and Mailgun. Paid plans unlock higher task limits, faster polling, and advanced features like multi-step workflows and conditional logic.

Do I need to know how to code to set this up?

No. The entire Square and Mailgun integration is built through a visual, point-and-click interface. Code blocks are available if you want them, but they are never required.