Vladi Gubler
Vladi Gubler
October 19, 2016
Stay in the know
Get helpful videos

Hi,

In today's world it's important to make your applications talk to each other and exchange data. But in today's cloud-based world, some of the applications you use don't even belong to you! Fortunately, there is an industry-standard way of gluing the pieces together. REST is a simple but powerful protocol that modern applications expose to allow you to fetch, add, update and delete information over the web, without the need for direct programmatic access.

Today I'm going to show you how to leverage this protocol to be able to link together two applications:

  1. Your SharePoint (on-premises or in Microsoft 365)
  2. Mailgun - an incredibly powerful, but simple mass mailing service

Basically, what we are going to do is create a mailing list in Mailgun for our partners and add the partner email to the list automatically whenever a partner is added to a Partners list in SharePoint. So next time you want to send your newsletter to partners, this new partner will already be on the list.

We are going to be using Ultimate Forms app (yes, this example is based on Microsoft 365), but you can also use the on-premises version. We are going to be using just the Actions component, so you can also get it separately if you prefer.

  1. First, create a list of partners in your SharePoint site. It can be any type of list, as long as it contains text columns for the partner name and email.
  2. Set up your free Mailgun account here. They even allow you to send up to 10,000 emails per month for free! Mailgun with provide you with an API key that will need for the following steps. You can find the API key under Domains -> <your production domain>
  3. In Mailgun set up a mailing list called Partners, with an email such as partners@yourdomain.com
  4. From your Partners list in SharePoint click on Design button in the ribbon to enter Ultimate Forms, and then under Configure Business Logic click on Actions
  5. Select Call web service as your action type and choose New as your event.
  6. Switch to Action Settings tab
  7. Switch to REST mode under Service type.
  8. Enter the URL for the REST endpoint. It will be https://api.mailgun.net/v3/lists/<your mailling list URL>/members
  9. Under Authentication choose Credentials.
  10. Under User name enter api.
  11. Under Password enter your API key.
  12. Set Method to POST.
  13. Map paramers name and address to the columns containing your partner name and email address respectively.
  14. Save the action.

This is it, when you add your next partner to the SharePoint list, their details will be automatically added to the mailing list in Mailgun!

Loading...

Add your comment

Comments are not meant for support. If you experiencing an issue, please open a support request.
Build powerful business applications in SharePoint using only your browser.
100% No-Code Solution
It’s never been easier to create, innovate, and share. All you need is your web browser!
Cost-Effective
Address business process pain points immediately. Save time and money.
Fantastic Support Team
In addition to our responsive support team, a wide variety of resources, documentations, tutorials, blogs and webinars is available to you

Flexible Forms

Convenient responsive modern forms, featuring tabs, section and column permissions, dynamic rules, repeating sections, electronic signatures and input validation, while keeping all your data safely inside SharePoint.

Smart dynamic SharePoint forms provide an exceptional user experience, improve data quality and simplify business processes, saving you valuable resources.

Form designer Form designer

Intuitive Automation

Replace complex SharePoint and Power Automate workflows with simple, but versatile Actions to create and update data inside SharePoint and in a variety of integrated applications, such as Exchange, MS SQL, Teams and many more.

By reducing the learning curve, you empower more people in your organization to create and manage business solutions, successfully removing bottlenecks.

Automation Automation

Clear Reporting

Present data as actionable insights with detailed shareable reports, dashboards, KPIs, calendars and charts.

Everyone is able to visualize information in an accessible fashion, improving responsiveness and accountability.

Reporting Reporting

100’s of Templates

Easily create, replicate and distribute forms and automation-enhanced SharePoint business solutions, selecting from our vast free library and creating your own custom templates in Infowise Ultimate Forms.
You are able to build once and automatically deploy multiple times in various locations across sites and tenants, saving you time and effort.
Templates Templates
Dive deeper
Watch a short introductory video showcasing the different unique capabilities of UltimateForms.
Microsoft partner logo
© 2005-2025 Infowise Solutions Ltd. All rights reserved.
Privacy | Cookie Policy | Accessibility | Cloud SLA