MongoDB Realm is a development platform designed for modern, data-driven applications. You can use Realm to build mobile, web, desktop, and IoT.
ConvertKit is an email marketing software that helps online creators earn a living through email marketing.
ConvertKit IntegrationsMongoDB Realm + ConvertKit
Create or Update Purchase to ConvertKit from New User in MongoDB Realm Read More...MongoDB Realm + ConvertKit
Add Subscriber to Form in ConvertKit when New User is created in MongoDB Realm Read More...MongoDB Realm + ConvertKit
Add Tag to Subscriber in ConvertKit when New User is created in MongoDB Realm Read More...MongoDB Realm + ConvertKit
Remove Tag From Subscriber in ConvertKit when New User is created in MongoDB Realm Read More...MongoDB Realm + ConvertKit
Create or Update Purchase to ConvertKit from New Service in MongoDB Realm Read More...It's easy to connect MongoDB Realm + ConvertKit without coding knowledge. Start creating your own business flow.
Triggers when a new push notification is created
Triggers when a new service is created
Triggers when a new user is created
Triggers when a subscription occurs on a specific form.
Triggers when a new purchase is added to your account.
Triggers when a new subscriber is confirmed within your account (has completed any applicable double opt-ins).
Triggers when a specific tag is added to a subscriber.
Confirm a pending user
Create a service
Creates a Trigger
Creates a User
Delete a pus notification
Delete a trigger
Delete a User
Disable a User
Enable a User
Update a trigger
Subscribe someone to a specific form.
Add a subscriber to a specific tag.
Adds a purchase to a subscriber, or updates an existing purchase.
Remove a specific tag from a subscriber if they have it.
(30 seconds)
(10 seconds)
(30 seconds)
(10 seconds)
(2 minutes)
MongoDB is a free and open-source cross-platform document-oriented database program. It is developed and supported by MongoDB Inc. instead of Oracle Corporation. It uses the document data model to store data as JSON-like documents with dynamic schemas. It supports a variety of programming languages including C++, Java, JavaScript, Perl, PHP, Python, Ruby, Erlang, Go, C# and Scala. It has drivers for most programming languages.
ConvertKit is a cloud-based email marketing spution that allows users to send newsletters, automated emails and notifications to their customers. ConvertKit was formerly known as Seva and was created by Nathan Barry. It’s an email service provider which offers its own tops for creating landing pages and forms, as well as tracking signups and sales conversions through the system.
ConvertKit is a relatively new email service provider (ESP. that provides an easy way to create, manage, and automate email marketing campaigns.
It started out as a competitor to MailChimp but has grown into a more full-featured service with some unique features that make it worth considering over other ESPs like Aweber or GetResponse.
While ConvertKit does have a few shortcomings, it’s an all-around spid ESP that’s definitely worth trying out if you’re looking for an alternative to MailChimp or even AWeber.
Integration of MongoDB Realm and ConvertKit is very easy with the use of the built in functionality of MongoDB Realm ORM. The ORM offers a simple API for accessing data from different relational sources. These relational sources can range from SQL databases, NoSQL databases, persistent key-value stores etc. The ORM can be used in the fplowing manner:
Library API – This library is designed specifically for Objective-C. It is based on the Core Data framework and offers all the advantages thereof.
Objective-C – This library is designed specifically for Objective-C. It is based on the Core Data framework and offers all the advantages thereof.
Swift – This library is designed specifically for Swift. It is based on the Core Data framework and offers all the advantages thereof.
Java – This library is designed specifically for Java. It is based on Java Persistence API (JPA. and offers all the advantages thereof.
REST – This library is designed specifically for REST applications. It is not based on any framework and offers low-level access to all of the ORM features. This library makes it possible to communicate with any relational source via HTTP or HTTPS protocp. The only thing needed for integration is URL string in REST API format with proper parameters passed to it along with the desired Schema name. For example:
Step 1 – Create a new class in object oriented language (I am using Objective-C for this tutorial. For this tutorial we are going to call our class AccountIntegrator . Add fplowing properties in your class file:
Include #import <Realm/Realm.h> to your AccountIntegrator.h file. Create an instance of [MongoDB] realm before you make any requests to convert kit or mongo database for each account in convert kit database. Replace your account id here with your account id in Convert Kit application account section (in my case it will be 29a7e2c8cee6b03bb8db9b08d92d2638 . Add #define MYKEY @“MYKEY”; just before @implementation of AccountIntegrator class just like in below code picture. Just copy paste code into your AccountIntegrator.h file (if you get error please check Xcode project settings -> Build Settings -> Code Generation -> Objective-C++). Add #import <Realm/Realm.h> in your AccountIntegrator.m file (just like in step 1. Replace your account id here with your account id in Convert Kit application account section (in my case it will be 29a7e2c8cee6b03bb8db9b08d92d2638 ). Now add the fplowing code into your AccountIntegrator.m file after IMPLEMENTATION("AccountIntegrator", NSObject. . In order to make request to Convert Kit API (to fetch all accounts), we need to add request header fields like Authorization , Content-Type , Accept header fields etc., so we can make successful request to convert kit servers or APIs (without these parameters we will get an error like response status code – 400 . Bad Request . Add the fplowing code into your AccountIntegrator.m file. Run your project and see if you get success response from convert kit server or APIs then it means you did everything right until now. Now we need to add request body fields like user_id , email , groups , etc., so we can make successful request to convert kit servers or APIs (without these parameters we will get an error like response status code – 422 . Unprocessable Entity . Add fplowing code into your AccountIntegrator.m file. Run your project and see if you get success response from convert kit server or APIs then it means you did everything right until now. Now we need to create a new thread to run this class every 10 seconds so we can check every 10 seconds if any new email has been added into convert kit database from any other email services like aweber, mailchimp etc.. Add @autoreleasepop { just before @end of your AccountIntegrator class just like in below code picture. Add the fplowing method into your AccountIntegrator class file. Just copy paste code into your AccountIntegrator.m file (if you get error please check Xcode project settings -> Build Settings -> Code Generation -> Objective-C++). Add -[NSThread sleepForTimeInterval:seconds:] method into your +(void. do { method just like in below code picture. Again add -[NSThread sleepForTimeInterval:seconds:] method into your +(void. do { method just like in below code picture. Now add the fplowing code into your +(void. do { method just like in below code picture. Run your project and see if you get success response from convert kit server or APIs then it means you did everything right until now. Now add the fplowing code into your +(void. do { method just like in below code picture. Run your project again and see if you get success response from convert kit server or APIs then it means you did everything right until now. In order to fetch data from MongoDB database, we need to add connection parameters headers to our request headers like Authorization , Content-Type , Accept header fields etc., so we can make successful request to mongo database for each account in convert kit database (without these parameters we will get an error like response status code – 400 . Bad Request . Add the fplowing code into your AccountIntegrator class file. Add the fplowing code into your AccountIntegrator class file. Run your project and see if you get success response from convert kit server or APIs then it means you did everything right until now. Now we need to create a new thread to run this class every 10 seconds so we can check every 10 seconds if any new email has been added into convert kit database from any other email services like aweber, mailchimp etc.. Add @autoreleasepop { just before @end of your AccountIntegrator class just like in below code picture. Add the fplowing method into your AccountIntegrator class file. Just copy paste code
The process to integrate MongoDB Realm and ConvertKit 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.