{"id":431,"date":"2021-09-27T02:26:50","date_gmt":"2021-09-27T02:26:50","guid":{"rendered":"https:\/\/www.shacarah.com\/main\/?p=431"},"modified":"2021-09-27T02:26:50","modified_gmt":"2021-09-27T02:26:50","slug":"custom-monitoring-salesforce-marketing-cloud","status":"publish","type":"post","link":"https:\/\/www.shacarah.com\/main\/salesforce\/custom-monitoring-salesforce-marketing-cloud\/","title":{"rendered":"Custom Monitoring &#8211; Salesforce Marketing Cloud"},"content":{"rendered":"\n<p>I conceptualized and built this to add efficiency and transparency for an team member or external member who wanted to receive monitoring for their perspective areas of interest.<\/p>\n\n\n\n<p>The Marketing Cloud does not have many product solutions for global or user specific monitoring needs.<\/p>\n\n\n\n<p>Making use the SOAP API Describe method: https:\/\/developer.salesforce.com\/docs\/atlas.en-us.noversion.mc-apis.meta\/mc-apis\/describe.htm, it\u2019s fairly easy to create a a simple UI around retrievable object properties. <\/p>\n\n\n\n<p>** not all object properties are retrievable regardless of what the describe method returns<\/p>\n\n\n\n<p>This simple interface allows any user to create a monitor for any API Object listed in a simple data extension.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"596\" height=\"285\" src=\"https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/20CBBDE5-E9D4-4D28-A679-4966A6C3BBC1.jpeg\" alt=\"\" class=\"wp-image-432\" srcset=\"https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/20CBBDE5-E9D4-4D28-A679-4966A6C3BBC1.jpeg 596w, https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/20CBBDE5-E9D4-4D28-A679-4966A6C3BBC1-300x143.jpeg 300w\" sizes=\"(max-width: 596px) 100vw, 596px\" \/><\/figure>\n\n\n\n<p>From there we can simply design an interface that allows a users to select any API object, properties, subject, monitor cadence, filters, and ordering for their monitor.<\/p>\n\n\n\n<p>For the monitor below it is set to send a message every day of the week on every hour if the specific triggered send is not actively running. <\/p>\n\n\n\n<p>This design reduces an incredible amount of email noise generated by the Marketing Cloud Applications standard monitoring which is rudimentary. Essentially it only allows insight to some automations and activities when they have completed. For an hourly cadence that is too much noise and not usually what a user wants to monitor.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"767\" height=\"729\" src=\"https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/87E1C81C-4C9E-4F2F-BCDB-3E73770D81C1.png\" alt=\"\" class=\"wp-image-433\" srcset=\"https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/87E1C81C-4C9E-4F2F-BCDB-3E73770D81C1.png 767w, https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/87E1C81C-4C9E-4F2F-BCDB-3E73770D81C1-300x285.png 300w\" sizes=\"(max-width: 767px) 100vw, 767px\" \/><\/figure>\n\n\n\n<p>The API calls are then stored in a data extension.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"474\" src=\"https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/9D9D8FCB-1811-48DE-B1DA-D547634DCFFA-1024x474.png\" alt=\"\" class=\"wp-image-434\" srcset=\"https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/9D9D8FCB-1811-48DE-B1DA-D547634DCFFA-1024x474.png 1024w, https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/9D9D8FCB-1811-48DE-B1DA-D547634DCFFA-300x139.png 300w, https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/9D9D8FCB-1811-48DE-B1DA-D547634DCFFA-768x356.png 768w, https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/9D9D8FCB-1811-48DE-B1DA-D547634DCFFA-1536x711.png 1536w, https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/9D9D8FCB-1811-48DE-B1DA-D547634DCFFA-850x394.png 850w, https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/9D9D8FCB-1811-48DE-B1DA-D547634DCFFA.png 1918w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>An automation runs hourly and picks up whatever monitors are in that hourly cadence. There is a fancy query that is responsible for detecting monitors in the right cadence which I\u2019ll do a post on separately.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"399\" src=\"http:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/89E90527-9727-4045-880F-963EB5CE8B34-1024x399.jpeg\" alt=\"\" class=\"wp-image-435\" srcset=\"https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/89E90527-9727-4045-880F-963EB5CE8B34-1024x399.jpeg 1024w, https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/89E90527-9727-4045-880F-963EB5CE8B34-300x117.jpeg 300w, https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/89E90527-9727-4045-880F-963EB5CE8B34-768x299.jpeg 768w, https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/89E90527-9727-4045-880F-963EB5CE8B34-850x331.jpeg 850w, https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/89E90527-9727-4045-880F-963EB5CE8B34.jpeg 1227w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>A script activity executes the API calls and stores the results.<\/p>\n\n\n\n<p>A verification step ensures the automation does not try to send the email if there aren\u2019t any records stored in the sendable data extension.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"480\" src=\"https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/0AB4CB9A-6ADE-4C05-BCE5-CEDCCCA67A1A-1024x480.png\" alt=\"\" class=\"wp-image-436\" srcset=\"https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/0AB4CB9A-6ADE-4C05-BCE5-CEDCCCA67A1A-1024x480.png 1024w, https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/0AB4CB9A-6ADE-4C05-BCE5-CEDCCCA67A1A-300x141.png 300w, https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/0AB4CB9A-6ADE-4C05-BCE5-CEDCCCA67A1A-768x360.png 768w, https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/0AB4CB9A-6ADE-4C05-BCE5-CEDCCCA67A1A-1536x720.png 1536w, https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/0AB4CB9A-6ADE-4C05-BCE5-CEDCCCA67A1A-850x398.png 850w, https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/0AB4CB9A-6ADE-4C05-BCE5-CEDCCCA67A1A.png 1920w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>The email sends are built from the stored results using very simple GTL (Guided Template Language).<\/p>\n\n\n\n<p>Here are a few samples.<\/p>\n\n\n\n<figure class=\"wp-block-gallery columns-1 is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\"><ul class=\"blocks-gallery-grid\"><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"776\" height=\"523\" src=\"https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/9B1D3C30-D192-4AD5-9EA1-B57E4376965F.png\" alt=\"\" data-id=\"438\" data-full-url=\"https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/9B1D3C30-D192-4AD5-9EA1-B57E4376965F.png\" data-link=\"https:\/\/www.shacarah.com\/main\/?attachment_id=438\" class=\"wp-image-438\" srcset=\"https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/9B1D3C30-D192-4AD5-9EA1-B57E4376965F.png 776w, https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/9B1D3C30-D192-4AD5-9EA1-B57E4376965F-300x202.png 300w, https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/9B1D3C30-D192-4AD5-9EA1-B57E4376965F-768x518.png 768w\" sizes=\"(max-width: 776px) 100vw, 776px\" \/><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"746\" height=\"457\" src=\"https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/7B6DBAA0-68C6-4ECC-B9D8-E047D84C8865.png\" alt=\"\" data-id=\"440\" data-full-url=\"https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/7B6DBAA0-68C6-4ECC-B9D8-E047D84C8865.png\" data-link=\"https:\/\/www.shacarah.com\/main\/?attachment_id=440\" class=\"wp-image-440\" srcset=\"https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/7B6DBAA0-68C6-4ECC-B9D8-E047D84C8865.png 746w, https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/7B6DBAA0-68C6-4ECC-B9D8-E047D84C8865-300x184.png 300w\" sizes=\"(max-width: 746px) 100vw, 746px\" \/><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"771\" height=\"442\" src=\"https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/A4B53C27-A763-4FA4-86A0-2C66C2B54CF1.png\" alt=\"\" data-id=\"442\" data-full-url=\"https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/A4B53C27-A763-4FA4-86A0-2C66C2B54CF1.png\" data-link=\"https:\/\/www.shacarah.com\/main\/?attachment_id=442\" class=\"wp-image-442\" srcset=\"https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/A4B53C27-A763-4FA4-86A0-2C66C2B54CF1.png 771w, https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/A4B53C27-A763-4FA4-86A0-2C66C2B54CF1-300x172.png 300w, https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/A4B53C27-A763-4FA4-86A0-2C66C2B54CF1-768x440.png 768w\" sizes=\"(max-width: 771px) 100vw, 771px\" \/><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"615\" height=\"577\" src=\"https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/4A076F5B-3257-42D6-A6F2-8D5A348269BC.png\" alt=\"\" data-id=\"439\" data-full-url=\"https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/4A076F5B-3257-42D6-A6F2-8D5A348269BC.png\" data-link=\"https:\/\/www.shacarah.com\/main\/?attachment_id=439\" class=\"wp-image-439\" srcset=\"https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/4A076F5B-3257-42D6-A6F2-8D5A348269BC.png 615w, https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/4A076F5B-3257-42D6-A6F2-8D5A348269BC-300x281.png 300w\" sizes=\"(max-width: 615px) 100vw, 615px\" \/><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"771\" height=\"489\" src=\"https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/FB6DA7DF-2E46-4E0D-AC82-99ED6F26591E.png\" alt=\"\" data-id=\"441\" data-full-url=\"https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/FB6DA7DF-2E46-4E0D-AC82-99ED6F26591E.png\" data-link=\"https:\/\/www.shacarah.com\/main\/?attachment_id=441\" class=\"wp-image-441\" srcset=\"https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/FB6DA7DF-2E46-4E0D-AC82-99ED6F26591E.png 771w, https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/FB6DA7DF-2E46-4E0D-AC82-99ED6F26591E-300x190.png 300w, https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/FB6DA7DF-2E46-4E0D-AC82-99ED6F26591E-768x487.png 768w\" sizes=\"(max-width: 771px) 100vw, 771px\" \/><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"601\" height=\"306\" src=\"https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/A7983C1B-C9E3-4261-9FDD-6EEC16F3790E.png\" alt=\"\" data-id=\"444\" data-full-url=\"https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/A7983C1B-C9E3-4261-9FDD-6EEC16F3790E.png\" data-link=\"https:\/\/www.shacarah.com\/main\/?attachment_id=444\" class=\"wp-image-444\" srcset=\"https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/A7983C1B-C9E3-4261-9FDD-6EEC16F3790E.png 601w, https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/A7983C1B-C9E3-4261-9FDD-6EEC16F3790E-300x153.png 300w\" sizes=\"(max-width: 601px) 100vw, 601px\" \/><\/figure><\/li><\/ul><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>I conceptualized and built this to add efficiency and transparency for an team member or external member who wanted to receive monitoring for their perspective areas of interest. The Marketing Cloud does not have many product solutions for global or user specific monitoring needs. Making use the SOAP API Describe method: https:\/\/developer.salesforce.com\/docs\/atlas.en-us.noversion.mc-apis.meta\/mc-apis\/describe.htm, it\u2019s fairly easy&#8230;<\/p>\n","protected":false},"author":1,"featured_media":441,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15,14,13],"tags":[],"class_list":["post-431","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-api","category-marketing-cloud","category-salesforce"],"_links":{"self":[{"href":"https:\/\/www.shacarah.com\/main\/wp-json\/wp\/v2\/posts\/431"}],"collection":[{"href":"https:\/\/www.shacarah.com\/main\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.shacarah.com\/main\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.shacarah.com\/main\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shacarah.com\/main\/wp-json\/wp\/v2\/comments?post=431"}],"version-history":[{"count":1,"href":"https:\/\/www.shacarah.com\/main\/wp-json\/wp\/v2\/posts\/431\/revisions"}],"predecessor-version":[{"id":445,"href":"https:\/\/www.shacarah.com\/main\/wp-json\/wp\/v2\/posts\/431\/revisions\/445"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.shacarah.com\/main\/wp-json\/wp\/v2\/media\/441"}],"wp:attachment":[{"href":"https:\/\/www.shacarah.com\/main\/wp-json\/wp\/v2\/media?parent=431"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shacarah.com\/main\/wp-json\/wp\/v2\/categories?post=431"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shacarah.com\/main\/wp-json\/wp\/v2\/tags?post=431"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}