Vladi Gubler
Vladi Gubler
October 19, 2016

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 Office 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 Office 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
ULTIMATEforms is a complete platform that enables everyone to easily create and maintain Microsoft SharePoint-based business solutions without a single line of code
Powerful Forms
State-of-the-art responsive forms, complete with tabs, permissions, dynamic rules, repeating sections, electronic signatures and advanced validation, powered by our AI-assisted form generator
Powerful Automation
Replace complex workflows with simple, but powerful actions to create and update data inside SharePoint and in a variety of integrated applications and databases
Powerful Reporting
Transform data into actionable insights with detailed exportable reports, sophisticated dashboards, color-coded calendars and dynamic charts
100’s of Templates
Build and replicate business solutions with ease, selecting from our vast free library and creating your own custom templates, all installed with a single click
Dive deeper
Watch a short introductory video showcasing the different unique capabilities of UltimateForms.
Ready to get started?
Hands-on training is the best way to get proficient. That's why we've created three unique training offerings which will help you master ULTIMATEFORMS. Our interactive sessions are delivered via web meetings and conducted within personal virtual workspaces.
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
Microsoft partner logo
© 2005-2024 Infowise Solutions Ltd. All rights reserved.
Privacy | Cookie Policy | Accessibility | Cloud SLA