{"id":513914,"date":"2023-11-07T14:24:13","date_gmt":"2023-11-07T13:24:13","guid":{"rendered":"https:\/\/www.devoteam.com\/expert-view\/application-integration-for-custom-message-tracking\/"},"modified":"2025-04-10T10:33:51","modified_gmt":"2025-04-10T08:33:51","slug":"application-integration-for-custom-message-tracking","status":"publish","type":"expert-view","link":"https:\/\/devoteam.info\/en-nl\/expert-view\/application-integration-for-custom-message-tracking\/","title":{"rendered":"Application integration for custom message tracking"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\"><strong>What is application integration?<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/cloud.google.com\/application-integration\/docs\/overview\" target=\"_blank\" rel=\"noreferrer noopener\">Application Integration<\/a> is an Integration-Platform-as-a-Service (iPaaS) solution offered by <a href=\"https:\/\/gcloud.devoteam.com\/products\/google-cloud-platform\/\">Google Cloud<\/a>. It encompasses a broad range of essential integration tools designed to connect multiple applications seamlessly. This service is fully managed by Google, operates in a serverless manner, and automatically scales to meet your needs. Together with its intuitive drag-and-drop user interface, it becomes a robust tool for effortlessly building, overseeing and expanding integrations on Google&#8217;s highly scalable infrastructure.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Use case: application integration for custom message tracking.<\/strong><\/h2>\n\n\n\n<p class=\"has-text-align-left wp-block-paragraph\">In the following use case, the objective is to customise tracking of messages sent to a certain Pub\/Sub topic. You accomplish this by creating an integration that listens to this Pub\/Sub topic and behaves depending on the received message. To increase the ease of use, you will facilitate access of tracking data through a tool like Google Sheets. With the aid of application integration, you can establish this behaviour in a scalable way, while keeping the implementation relatively simple. The integration used for this use case is shown in the figure below.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" src=\"https:\/\/devoteam.info\/wp-content\/uploads\/2024\/12\/application-integration-1.png\" alt=\"\" class=\"wp-image-89379\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The workflow starts with a Pub\/Sub Trigger that will initiate the processing upon receiving a message to the designated topic. The main control flow then exists of a JavaScript task which extracts and processes the data from the message. Followed by a DataMapping task that generates a request from the data to send to the Google Sheets API. Finally, you use the Sheets &#8211; Append task to send the request to Google Sheets.\u00a0<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Setting up authentication: <\/strong>in order for the integration to possess the correct access privileges, you need to set up an authentication profile using a service account in the authentication profile tab. To give it access to the Google Sheets API you need to add \u201c<a href=\"https:\/\/www.googleapis.com\/auth\/spreadsheets\">https:\/\/www.googleapis.com\/auth\/spreadsheets<\/a>\u201d to the scope of the profile. The service account does not need any other roles\/privileges whatsoever. The settings of the authentication profile can be seen in the figure below. To give the profile access to your Google Sheet, you must grant \u2018Editor\u2019 rights to the service account\u2019s email address on your sheet. This authentication profile will also be referred to in the Sheets &#8211; Append task.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img decoding=\"async\" src=\"https:\/\/devoteam.info\/wp-content\/uploads\/2024\/12\/application-integration-2.png\" alt=\"\" class=\"wp-image-89389\" style=\"aspect-ratio:2.7379679144385025;width:917px;height:auto\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Processing data: <\/strong>For this step, you need a Pub\/Sub topic to ingest the messages into the system. This topic is to be referred to in your application integration Pub\/Sub trigger. As a result, your application integration workflow is triggered each time a message is sent to the topic. The message content can also be used in the context of the integration. To facilitate the extraction and processing of data from the incoming messages, you can employ a JavaScript task. This task executes a singular function which takes the complete context of the workflow as input. Within this function, the fields of the Pub\/Sub message can be read and subjected to processing.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Sending data to Google Sheets<\/strong>: for the sheets API to work properly, the row data needs to be accompanied by some static metadata. To attach this metadata,\u00a0 you can create a local variable inside the integration context with the static data as the default value. You can then use the Data Mapping task to combine the processed Pub\/Sub message with the local variable using the \u201cMERGE\u201d function. The task schema can be seen in the figure below. The combined data packet can then be sent as a request to the Google Sheets API using the Sheets Append task. For the Sheets Append task, the authentication profile created in the last step needs to be referred to as this account has access to your sheet.\u00a0<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/devoteam.info\/wp-content\/uploads\/2024\/12\/application-integration-4.png\" alt=\"\" class=\"wp-image-89399\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Adding more custom behaviour: sending mails on certain Pub\/Sub messages<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Suppose for some received messages you want to respond by sending mails to inform a recipient. This can be a static recipient, for instance, someone who manages the message tracking. This can also be dynamically chosen depending on the received message. To add this behaviour to your integration you can just create a fork after the JavaScript task with the extra edge being conditioned on whether or not a recipient should be notified via email. Furthermore, after the newly added edge, a Send Email task must be installed. This task is defined by a receiving e-mail address, subject and body. All of these fields can be dynamically assigned depending on the received message. The extended integration is shown in the figure below.\u00a0<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img decoding=\"async\" src=\"https:\/\/devoteam.info\/wp-content\/uploads\/2024\/12\/application-integration-3.png\" alt=\"\" class=\"wp-image-89409\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Why you should use application integration<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Application Integration sets itself apart by having a user-friendly interface and capabilities to quickly create an integration that connects different applications. Next to this you can also easily modify and extend the behaviour of the integration. Setting up custom integrations where different applications communicate with each other can often become very complex for even the simplest use cases. With the usage of Google Cloud\u2019s application integration, these implementations become much more simple, which can help development teams become more efficient and agile.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Other use cases that can serve as a source of inspiration.<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.googlecloudcommunity.com\/gc\/Integration-Services\/Introducing-Eventing-for-Application-Integration\/m-p\/617645\" target=\"_blank\" rel=\"noreferrer noopener\">Syncing Zendesk and JIRA with usage of Eventing<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.googlecloudcommunity.com\/gc\/Integration-Services\/Introducing-Eventing-for-Application-Integration\/m-p\/617645\" target=\"_blank\" rel=\"noreferrer noopener\">Triggering Application Integration from an AppSheet Application<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.googlecloudcommunity.com\/gc\/Integration-Services\/Sample-Integration-Upload-and-Download-to-from-GCS-to-from-SFTP\/m-p\/523578\" target=\"_blank\" rel=\"noreferrer noopener\">Upload and Download to\/from GCS to\/from SFTP<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.googlecloudcommunity.com\/gc\/Integration-Services\/Application-Integration-Integration-over-Kafka\/m-p\/523518\" target=\"_blank\" rel=\"noreferrer noopener\">Integration using Kafka events<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>What is application integration? Application Integration is an Integration-Platform-as-a-Service (iPaaS) solution offered by Google Cloud. It encompasses a broad range of essential integration tools designed to connect multiple applications seamlessly. This service is fully managed by Google, operates in a serverless manner, and automatically scales to meet your needs. Together with its intuitive drag-and-drop user [&hellip;]<\/p>\n","protected":false},"featured_media":322148,"template":"","categories":[902],"tags":[2297,2861,1829,2493],"industry":[],"class_list":["post-513914","expert-view","type-expert-view","status-publish","has-post-thumbnail","hentry","category-google-cloud-en-nl","tag-data-en-nl","tag-data-analytics-en-nl","tag-google-cloud-en-nl","tag-google-cloud-platform-en-nl"],"acf":[],"cards":"\n\t<div class=\"single-post-card\">\n\n\t\t<figure class=\"wp-block-post-featured-image\"><a href=\"https:\/\/devoteam.info\/en-nl\/expert-view\/application-integration-for-custom-message-tracking\/\" target=\"_self\" ><img width=\"1200\" height=\"627\" src=\"https:\/\/devoteam.info\/wp-content\/uploads\/2024\/12\/Application-integration-2-1.jpg\" class=\"attachment-post-thumbnail size-post-thumbnail wp-post-image\" alt=\"Application integration for custom message tracking\" style=\"aspect-ratio:4\/3;width:100%;object-fit:cover;\" decoding=\"async\" loading=\"lazy\" srcset=\"https:\/\/devoteam.info\/wp-content\/uploads\/2024\/12\/Application-integration-2-1.jpg 1200w, https:\/\/devoteam.info\/wp-content\/uploads\/2024\/12\/Application-integration-2-1-300x157.jpg 300w, https:\/\/devoteam.info\/wp-content\/uploads\/2024\/12\/Application-integration-2-1-1024x535.jpg 1024w, https:\/\/devoteam.info\/wp-content\/uploads\/2024\/12\/Application-integration-2-1-768x401.jpg 768w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/a><\/figure>\n\n\t\t\n\t\t<div class=\"wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-43282307 wp-block-group-is-layout-flex\">\n\t<p style=\"font-style:normal;font-weight:700\" class=\"has-link-color wp-elements-1 wp-block-lp-post-type has-text-color has-primary-color has-small-font-size\">Expert View<\/p>\n\n\t\t\n\t\t<h3 style=\"font-style:normal;font-weight:400\" class=\"wp-block-post-title has-base-font-size\"><a href=\"https:\/\/devoteam.info\/en-nl\/expert-view\/application-integration-for-custom-message-tracking\/\" target=\"_self\" >Application integration for custom message tracking<\/a><\/h3><\/div>\n\t\t\n\t<\/div>\n\n","yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v28.4 (Yoast SEO v28.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Application integration for custom message tracking | Devoteam<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/devoteam.info\/en-nl\/expert-view\/application-integration-for-custom-message-tracking\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Application integration for custom message tracking\" \/>\n<meta property=\"og:description\" content=\"What is application integration? Application Integration is an Integration-Platform-as-a-Service (iPaaS) solution offered by Google Cloud. It encompasses a broad range of essential integration tools designed to connect multiple applications seamlessly. This service is fully managed by Google, operates in a serverless manner, and automatically scales to meet your needs. Together with its intuitive drag-and-drop user [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/devoteam.info\/en-nl\/expert-view\/application-integration-for-custom-message-tracking\/\" \/>\n<meta property=\"og:site_name\" content=\"Devoteam\" \/>\n<meta property=\"article:modified_time\" content=\"2025-04-10T08:33:51+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/devoteam.info\/wp-content\/uploads\/2024\/12\/Application-integration-2-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"627\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/devoteam.info\\\/en-nl\\\/expert-view\\\/application-integration-for-custom-message-tracking\\\/\",\"url\":\"https:\\\/\\\/devoteam.info\\\/en-nl\\\/expert-view\\\/application-integration-for-custom-message-tracking\\\/\",\"name\":\"Application integration for custom message tracking | Devoteam\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/devoteam.info\\\/en-nl\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/devoteam.info\\\/en-nl\\\/expert-view\\\/application-integration-for-custom-message-tracking\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/devoteam.info\\\/en-nl\\\/expert-view\\\/application-integration-for-custom-message-tracking\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/devoteam.info\\\/wp-content\\\/uploads\\\/2024\\\/12\\\/Application-integration-2-1.jpg\",\"datePublished\":\"2023-11-07T13:24:13+00:00\",\"dateModified\":\"2025-04-10T08:33:51+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/devoteam.info\\\/en-nl\\\/expert-view\\\/application-integration-for-custom-message-tracking\\\/#breadcrumb\"},\"inLanguage\":\"en-NL\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/devoteam.info\\\/en-nl\\\/expert-view\\\/application-integration-for-custom-message-tracking\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-NL\",\"@id\":\"https:\\\/\\\/devoteam.info\\\/en-nl\\\/expert-view\\\/application-integration-for-custom-message-tracking\\\/#primaryimage\",\"url\":\"https:\\\/\\\/devoteam.info\\\/wp-content\\\/uploads\\\/2024\\\/12\\\/Application-integration-2-1.jpg\",\"contentUrl\":\"https:\\\/\\\/devoteam.info\\\/wp-content\\\/uploads\\\/2024\\\/12\\\/Application-integration-2-1.jpg\",\"width\":1200,\"height\":627},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/devoteam.info\\\/en-nl\\\/expert-view\\\/application-integration-for-custom-message-tracking\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/devoteam.info\\\/en-nl\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Expert View\",\"item\":\"https:\\\/\\\/devoteam.info\\\/en-nl\\\/expert-view\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Application integration for custom message tracking\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/devoteam.info\\\/en-nl\\\/#website\",\"url\":\"https:\\\/\\\/devoteam.info\\\/en-nl\\\/\",\"name\":\"Devoteam\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/devoteam.info\\\/en-nl\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-NL\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Application integration for custom message tracking | Devoteam","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/devoteam.info\/en-nl\/expert-view\/application-integration-for-custom-message-tracking\/","og_locale":"en_US","og_type":"article","og_title":"Application integration for custom message tracking","og_description":"What is application integration? Application Integration is an Integration-Platform-as-a-Service (iPaaS) solution offered by Google Cloud. It encompasses a broad range of essential integration tools designed to connect multiple applications seamlessly. This service is fully managed by Google, operates in a serverless manner, and automatically scales to meet your needs. Together with its intuitive drag-and-drop user [&hellip;]","og_url":"https:\/\/devoteam.info\/en-nl\/expert-view\/application-integration-for-custom-message-tracking\/","og_site_name":"Devoteam","article_modified_time":"2025-04-10T08:33:51+00:00","og_image":[{"width":1200,"height":627,"url":"https:\/\/devoteam.info\/wp-content\/uploads\/2024\/12\/Application-integration-2-1.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/devoteam.info\/en-nl\/expert-view\/application-integration-for-custom-message-tracking\/","url":"https:\/\/devoteam.info\/en-nl\/expert-view\/application-integration-for-custom-message-tracking\/","name":"Application integration for custom message tracking | Devoteam","isPartOf":{"@id":"https:\/\/devoteam.info\/en-nl\/#website"},"primaryImageOfPage":{"@id":"https:\/\/devoteam.info\/en-nl\/expert-view\/application-integration-for-custom-message-tracking\/#primaryimage"},"image":{"@id":"https:\/\/devoteam.info\/en-nl\/expert-view\/application-integration-for-custom-message-tracking\/#primaryimage"},"thumbnailUrl":"https:\/\/devoteam.info\/wp-content\/uploads\/2024\/12\/Application-integration-2-1.jpg","datePublished":"2023-11-07T13:24:13+00:00","dateModified":"2025-04-10T08:33:51+00:00","breadcrumb":{"@id":"https:\/\/devoteam.info\/en-nl\/expert-view\/application-integration-for-custom-message-tracking\/#breadcrumb"},"inLanguage":"en-NL","potentialAction":[{"@type":"ReadAction","target":["https:\/\/devoteam.info\/en-nl\/expert-view\/application-integration-for-custom-message-tracking\/"]}]},{"@type":"ImageObject","inLanguage":"en-NL","@id":"https:\/\/devoteam.info\/en-nl\/expert-view\/application-integration-for-custom-message-tracking\/#primaryimage","url":"https:\/\/devoteam.info\/wp-content\/uploads\/2024\/12\/Application-integration-2-1.jpg","contentUrl":"https:\/\/devoteam.info\/wp-content\/uploads\/2024\/12\/Application-integration-2-1.jpg","width":1200,"height":627},{"@type":"BreadcrumbList","@id":"https:\/\/devoteam.info\/en-nl\/expert-view\/application-integration-for-custom-message-tracking\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/devoteam.info\/en-nl\/"},{"@type":"ListItem","position":2,"name":"Expert View","item":"https:\/\/devoteam.info\/en-nl\/expert-view\/"},{"@type":"ListItem","position":3,"name":"Application integration for custom message tracking"}]},{"@type":"WebSite","@id":"https:\/\/devoteam.info\/en-nl\/#website","url":"https:\/\/devoteam.info\/en-nl\/","name":"Devoteam","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/devoteam.info\/en-nl\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-NL"}]}},"uagb_featured_image_src":{"full":["https:\/\/devoteam.info\/wp-content\/uploads\/2024\/12\/Application-integration-2-1.jpg",1200,627,false],"thumbnail":["https:\/\/devoteam.info\/wp-content\/uploads\/2024\/12\/Application-integration-2-1-150x150.jpg",150,150,true],"medium":["https:\/\/devoteam.info\/wp-content\/uploads\/2024\/12\/Application-integration-2-1-300x157.jpg",300,157,true],"medium_large":["https:\/\/devoteam.info\/wp-content\/uploads\/2024\/12\/Application-integration-2-1-768x401.jpg",768,401,true],"large":["https:\/\/devoteam.info\/wp-content\/uploads\/2024\/12\/Application-integration-2-1-1024x535.jpg",1024,535,true],"1536x1536":["https:\/\/devoteam.info\/wp-content\/uploads\/2024\/12\/Application-integration-2-1.jpg",1200,627,false],"2048x2048":["https:\/\/devoteam.info\/wp-content\/uploads\/2024\/12\/Application-integration-2-1.jpg",1200,627,false]},"uagb_author_info":{"display_name":"Julien Pawlowski","author_link":"https:\/\/devoteam.info\/en-nl\/author\/"},"uagb_comment_info":0,"uagb_excerpt":"What is application integration? Application Integration is an Integration-Platform-as-a-Service (iPaaS) solution offered by Google Cloud. It encompasses a broad range of essential integration tools designed to connect multiple applications seamlessly. This service is fully managed by Google, operates in a serverless manner, and automatically scales to meet your needs. Together with its intuitive drag-and-drop user&hellip;","_links":{"self":[{"href":"https:\/\/devoteam.info\/en-nl\/wp-json\/wp\/v2\/expert-view\/513914","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devoteam.info\/en-nl\/wp-json\/wp\/v2\/expert-view"}],"about":[{"href":"https:\/\/devoteam.info\/en-nl\/wp-json\/wp\/v2\/types\/expert-view"}],"version-history":[{"count":0,"href":"https:\/\/devoteam.info\/en-nl\/wp-json\/wp\/v2\/expert-view\/513914\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devoteam.info\/en-nl\/wp-json\/wp\/v2\/media\/322148"}],"wp:attachment":[{"href":"https:\/\/devoteam.info\/en-nl\/wp-json\/wp\/v2\/media?parent=513914"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devoteam.info\/en-nl\/wp-json\/wp\/v2\/categories?post=513914"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devoteam.info\/en-nl\/wp-json\/wp\/v2\/tags?post=513914"},{"taxonomy":"industry","embeddable":true,"href":"https:\/\/devoteam.info\/en-nl\/wp-json\/wp\/v2\/industry?post=513914"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}