{"id":4100,"date":"2024-08-07T16:25:31","date_gmt":"2024-08-07T10:55:31","guid":{"rendered":"https:\/\/www.lemnisk.co\/blog\/?p=4100"},"modified":"2024-09-13T12:37:37","modified_gmt":"2024-09-13T07:07:37","slug":"lemnisk-external-api","status":"publish","type":"post","link":"https:\/\/www.lemnisk.co\/blog\/lemnisk-external-api\/","title":{"rendered":"Connect to any CRM, Call Center, LMS or Marketing Automation tool using Lemnisk&#8217;s External API"},"content":{"rendered":"<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">A typical marketing team of an enterprise today, utilizes as many as ~90 systems and tools in their marketing stack, <\/span><strong><a href=\"https:\/\/chiefmartec.com\/2017\/06\/average-enterprise-uses-91-marketing-cloud-services\/\">according to martech guru, Scott Brinker<\/a><\/strong><span style=\"font-weight: 400;\">. Such a convoluted stack involves numerous connections and integrations to collect and stream customer data to several different sources, destinations, and tools like websites, marketing automation platforms, email providers, CRM, etc.\u00a0<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">We can start listing out the numerous destinations a marketer wants to send customer data to and we wouldn\u2019t be surprised to see the list slowly growing to be a sizable number, comprising data warehouses to marketing tools like an email provider, an internal Lead Management System and more!\u00a0<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">Let\u2019s understand why a typical marketing stack requires so many destination connections.<\/span><\/p>\n<p>&nbsp;<\/p>\n<h2><b>Why does a typical marketing stack require numerous connections to send customer data?\u00a0<\/b><\/h2>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">The above is a follow-up question to the primary problem statement a marketing team aims to solve\u00a0 &#8211; \u201c<\/span><i><span style=\"font-weight: 400;\">How deeply does your marketing stack penetrate the customer experience lifecycle and tap into the various touchpoints to activate and engage the customer with personalized campaigns? <\/span><\/i><span style=\"font-weight: 400;\">\u201d.\u00a0<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">Digital marketing touchpoints and communication channels keep growing by the day, and so will the need to connect to each and every single one of them so that you and your marketing stack are delivering an optimum personalized customer experience. Below is a flow diagram showing the lifecycle of customer data and the various connections in place for a well-rounded marketing stack.<\/span><\/p>\n<p>&nbsp;<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-4134\" src=\"https:\/\/www.lemnisk.co\/blog\/wp-content\/uploads\/2024\/08\/marketing-stack.png\" alt=\"marketing stack | external API\" width=\"800\" height=\"451\" \/><br \/>\n<\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">If you\u2019re using a CDP like <a href=\"https:\/\/www.lemnisk.co\/blog\/spark-matrix-campaign-cdp\/\" rel=\"noopener noreferrer\" target=\"_blank\"><strong>Lemnisk<\/strong><\/a> to unify customer data from various sources, you can then enable this customer data across multiple channels and destinations. Below is a categorized list of such possible connections:<\/span><\/p>\n<p>&nbsp;<\/p>\n<ul>\n<li aria-level=\"1\"><b>Ad Platforms<span style=\"font-weight: 400; text-align: justify;\">: Exporting the segmented audience to ad servers like Google Ads, Meta Pixel, LinkedIn Ads, etc. to run personalized advertisement campaigns.<\/span><\/b><\/li>\n<\/ul>\n<ul>\n<li aria-level=\"1\"><b>Communication Service Providers<span style=\"font-weight: 400; text-align: justify;\">: Businesses run their digital marketing campaigns on messaging channels like SMS, Email, WhatsApp, RCS, Outbound Dialer, IVR and others with the help of vendors or service providers. These communication channel service providers help businesses set up the necessary infrastructure and accounts to onboard onto these channels, while Lemnisk sends across the target audience and message content via real-time REST APIs.<\/span><\/b><\/li>\n<\/ul>\n<ul>\n<li aria-level=\"1\"><strong>Marketing Automation Tools:<\/strong><span style=\"font-weight: 400; text-align: justify;\"> Lemnisk CDP can empower your MA stack by streaming raw user events in real-time to Marketing Automation tools such as MoEngage, WebEngage, Clevertap, Adobe, Salesforce Marketing Cloud etc. These raw user events can be used for segmentation, campaign triggers and many more use cases. Moreover, we can also export users that become part of the segment at CDP and essentially do segment export of these users downstream to Marketing Automation platforms.<\/span><\/li>\n<\/ul>\n<ul>\n<li aria-level=\"1\"><strong>CRMs<\/strong><span style=\"font-weight: 400; text-align: justify;\"><strong>:<\/strong> Lemnisk CDP with its External API can power the enterprise\u2019s CRM databases by posting leads. Lemnisk collects the leads from several sources like website forms or social media ads, and is capable of creating or updating these contacts into the enterprise\u2019s CRM like Salesforce, Hubspot, Zoho CRM.<\/span><\/li>\n<\/ul>\n<ul>\n<li aria-level=\"1\"><strong>Client\u2019s Internal Platforms:<\/strong> <span style=\"font-weight: 400; text-align: justify;\">Similar to the use cases discussed above, an Enterprise marketing team is usually always bound with several infosec and other compliances, owing to which the customer data has to be securely stored in internal tools like &#8211; Lead Management Platform, Consent Management Platforms, Contact Repositories etc.<\/span><\/li>\n<\/ul>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">We can keep on going, quoting more under every category and listing more niche categories, but I think the above gives a good understanding of how endless the possible connections from a CDP can be! Only your imagination and use cases put a limit to the number of connections required from your CDP.\u00a0<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">Having understood the existing as well as growing need of more connections in your marketing stack, you might be wondering if you can spare your tech integration or engineering team from new integration requirements every other quarter.\u00a0<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">Well, Lemnisk has an outstanding solution for enterprise marketers to solve their <strong><a href=\"https:\/\/www.lemnisk.co\/integrations\/\" rel=\"noopener noreferrer\" target=\"_blank\">third-party integration<\/a><\/strong> needs! Our proprietary External API solution ensures your marketing campaigns dependent on RESTful API connections are taken care of without any dedicated engineering expertise deployed.\u00a0<\/span><\/p>\n<p>&nbsp;<\/p>\n<h3><b>What is the External API?\u00a0\u00a0<\/b><\/h3>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">External API is a marketing channel provided by Lemnisk CDP where you can run campaigns triggered to an external REST API endpoint. Marketers with little understanding of REST APIs can easily set up their API on our platform as an External API configuration, and following which they can start executing engagements on top of segments. With External API, a marketer can get started with third-party connections and integrations-led campaigns in less than 20 mins, without any dependency on their engineering teams!\u00a0<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-4139\" src=\"https:\/\/www.lemnisk.co\/blog\/wp-content\/uploads\/2024\/08\/External-API.jpg\" alt=\"External API\" width=\"800\" height=\"450\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3><b>Key Features<\/b><\/h3>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">The External API works exactly like other channels, but greatly differing in the depth and flexibility it offers in setting up the configuration, and in turn, the engagements. The target destination\u2019s specification can be intuitively set up when creating the External API definition and modified to aid to the exact use case of the marketer, be it streaming user events to a <strong><a href=\"https:\/\/www.lemnisk.co\/blog\/cdp-marketing-automation-system\/\" rel=\"noopener noreferrer\" target=\"_blank\">marketing automation<\/a><\/strong> tool like MoEngage or updating contacts to a <strong><a href=\"https:\/\/www.lemnisk.co\/blog\/cdp-vs-crm\/\" rel=\"noopener noreferrer\" target=\"_blank\">CRM<\/a><\/strong> like MSD365.\u00a0<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">Below are some key components of the External API:<\/span><\/p>\n<ol><\/ol>\n<ol>\n<li><strong>Flexible Integration:<\/strong><span style=\"font-weight: 400; text-align: justify;\"> Set up a server to server connection between Lemnisk CDP and the target destination to securely transmit data from the CDP.<\/span><\/li>\n<\/ol>\n<ol start=\"2\">\n<li style=\"font-weight: 400;\" aria-level=\"1\"><strong>Configurable Content definition<\/strong><span style=\"font-weight: 400; text-align: justify;\"><strong>:<\/strong> Define your own payload. It can be globally static for all engagements, or specific for every engagement or campaign.<\/span><\/li>\n<\/ol>\n<ol start=\"3\">\n<li style=\"font-weight: 400;\" aria-level=\"1\"><strong>Personalization: <\/strong><span style=\"font-weight: 400; text-align: justify;\">Personalize the URL parameters, query parameters or the body of your destination\u2019s payload to tailor your use campaign with user specific or event specific content.<\/span><\/li>\n<\/ol>\n<ol start=\"4\">\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400; text-align: justify;\"><strong>Frequency Caps:<\/strong> Just like every other channel, you can define a cap to the number of times a user is triggered by an External API on a daily, weekly, monthly or lifetime basis. This is to avoid redundant registration via the engagements that can lead to repeated records against a user, for example.<\/span><\/li>\n<\/ol>\n<ol><\/ol>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">As you draw parallels between other digital marketing channels and External API, you would eventually appreciate how foundational and indispensable External API can be in your martech stack! It only differs in \u2018how\u2019 or \u2018what\u2019 the connection is set up for, unlike the other channels, where the connection is defined already, for eg. Netcore Email Services.\u00a0<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">This \u2018<\/span><i><span style=\"font-weight: 400;\">configure your connection<\/span><\/i><span style=\"font-weight: 400;\">\u2019 is the secret of the channel itself. The power and flexibility resides on the marketer to configure any endpoint of their choice and define the information structure to be triggered.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">Having understood how External API functions like any other channel, let us go through a sample use case.<\/span><\/p>\n<p>&nbsp;<\/p>\n<h3><b>Example: Send Lead data from the website form to the Lead Management System<\/b><\/h3>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">A Lead Management System (LMS) is a software tool that helps businesses capture, organize, and track potential customers, also known as leads. It streamlines the process of nurturing these leads and converting them into paying customers. Most enterprises have an internal LMS, where leads flow into from several different sources &#8211; Emails, website forms, CRMs and sales portals, CDP, and more!<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">An LMS is where the essential lead processing takes place, from capturing to scoring the leads based on several parameters like origin and budget, to lead nurturing and using different techniques.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify;\"><b>Use case: <\/b><span style=\"font-weight: 400;\">An enterprise user of Lemnisk CDP wants to send lead information captured on the website form to the LMS.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">The above is a very common use case among Insurance and Banking clients. Their websites are optimized for SEO and they host a lead form either directly on the homepage or somewhere nearer to the landing page, like in the later folds of the screen after some scrolling.\u00a0<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">Below is a standard example of a website lead form.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-4138\" src=\"https:\/\/www.lemnisk.co\/blog\/wp-content\/uploads\/2024\/08\/website-lead-form-1.png\" alt=\"website lead form | External API\" width=\"800\" height=\"451\" \/><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify;\"><b>Submit Lead API: <\/b><span style=\"font-weight: 400;\">See below a sample submit lead API that will be used to collect information submitted by users on the website.<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Base URL: <\/span><a href=\"https:\/\/www.insurancelead.com\/gateway\/1.0\/submit-lead\"><span style=\"font-weight: 400;\">https:\/\/www.insurancelead.com\/gateway\/1.0\/submit-lead<\/span><\/a><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Method: POST<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Headers:<\/span>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">Content-Type: application\/json<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">Authorization: Bearer abcd1234xyz<\/span><\/li>\n<\/ul>\n<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Body:<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><span style=\"font-weight: 400;\">{ <\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><span style=\"font-weight: 400;\">\u201cLead_name\u201d: \u201cJohn Doe\u201d,<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><span style=\"font-weight: 400;\">\u201cEmail\u201d: \u201c<\/span><a href=\"mailto:johndoe@gmail.com\"><span style=\"font-weight: 400;\">johndoe@gmail.com<\/span><\/a><span style=\"font-weight: 400;\">\u201d,<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><span style=\"font-weight: 400;\">\u201cAge\u201d: \u201c29\u201d,<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><span style=\"font-weight: 400;\">\u201cAmount\u201d: \u201c300000\u201d<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><span style=\"font-weight: 400;\">}<\/span><\/li>\n<\/ul>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">Don\u2019t worry if you\u2019re not very tech-savvy and don\u2019t understand the above terminologies. Your team\u2019s product manager\/engineering counterpart would be able to assist you with setting up the configuration for the first time, after which it will be a piece of cake.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">The 4 sections pointed out above are the basic composition of a standard REST API, that will be used to send across lead data from the CDP to the LMS.<\/span><\/p>\n<p>&nbsp;<\/p>\n<h4><b>Setting up the LMS API and Engagements<\/b><\/h4>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">Configuring the API is very intuitive once you have the definition and a sample working payload. You have to simply define each section of the destination endpoint in Lemnisk\u2019s External API builder, that lets you set up as well as test the API within minutes.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">And that\u2019s it! That is all it takes to set up an External API configuration in Lemnisk CDP. Creating engagements in the saved API configuration is straightforward. You have to ensure that the necessary lead information is being captured as a user attribute or identifier in the CDP, namely &#8211; Lead name, Lead email, Lead age, Coverage Amount in the above example.\u00a0<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify;\"><span style=\"font-weight: 400;\">With the above pre-requisites in place, you can readily start creating engagements and exporting your data from the CDP to your configured destination! And that\u2019s how External API powers your custom connections and integration-led campaigns, helping your marketing strategy thrive in this ever-evolving, complex world of MarTech.<\/span><\/p>\n<p>&nbsp;<\/p>\n<h5><strong>By Karansingh Bisht | Associate Product Manager at Lemnisk<\/strong><\/h5>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A typical marketing team of an enterprise today, utilizes as many as ~90 systems and tools in their marketing stack, according to martech guru, Scott Brinker. Such a convoluted stack involves numerous connections and integrations to collect and stream customer data to several different sources, destinations, and tools like websites, marketing automation platforms, email providers, [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":4143,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,160,58,116,75],"tags":[19],"class_list":["post-4100","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-all-blogs","category-crm","category-customer-data-platform","category-marketing-automation","category-martech","tag-customer-data-platform"],"_links":{"self":[{"href":"https:\/\/www.lemnisk.co\/blog\/wp-json\/wp\/v2\/posts\/4100","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lemnisk.co\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lemnisk.co\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lemnisk.co\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lemnisk.co\/blog\/wp-json\/wp\/v2\/comments?post=4100"}],"version-history":[{"count":46,"href":"https:\/\/www.lemnisk.co\/blog\/wp-json\/wp\/v2\/posts\/4100\/revisions"}],"predecessor-version":[{"id":4152,"href":"https:\/\/www.lemnisk.co\/blog\/wp-json\/wp\/v2\/posts\/4100\/revisions\/4152"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.lemnisk.co\/blog\/wp-json\/wp\/v2\/media\/4143"}],"wp:attachment":[{"href":"https:\/\/www.lemnisk.co\/blog\/wp-json\/wp\/v2\/media?parent=4100"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lemnisk.co\/blog\/wp-json\/wp\/v2\/categories?post=4100"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lemnisk.co\/blog\/wp-json\/wp\/v2\/tags?post=4100"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}