Last active
November 12, 2021 13:50
-
-
Save splintor/3cca718779856e9e4f28ed75661f2e52 to your computer and use it in GitHub Desktop.
Config for PING-2161
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "channelDefinitions":[ | |
| { | |
| "channel":"EMAIL", | |
| "shoutoutApi":{ | |
| }, | |
| "disabled":false | |
| }, | |
| { | |
| "channel":"MOBILE", | |
| "disabled":false | |
| }, | |
| { | |
| "channel":"LIVE_SITE" | |
| }], | |
| "description":"blog.new_post_published", | |
| "enableAudienceSelection":true, | |
| "iconOrigin":"AppIcon", | |
| "initiatorType":"Member", | |
| "inputMapping":"{\"spout\":{\"wixApp\":\"14bcded7-0066-7c35-14d7-466cb3f09103\"},\"correlationIdOverride\":context.activationId,\"placeholders\":{\"firstPublishedDate\":{\"datetime\":{\"timestamp\":firstPublishedDate}},\"url\":{\"actionTarget\":url}},\"initiator\":{\"siteMember\":{\"metaSiteId\":context.metaSiteId,\"siteMemberId\":memberId}},\"actionTarget\":url,\"templateId\":\"TE.blog.new_post_published\",\"toTopicsSubscribers\":{\"filterableTopics\":[{\"topic\":'root.site='&context.metaSiteId&'.app=14bcded7-0066-7c35-14d7-466cb3f09103.entity=blog',\"languageFilter\":language},{\"topic\":'root.site='&context.metaSiteId&'.app=14ebe801-d78a-daa9-c9e5-0286a891e46f.siteMember='&memberId},{\"topic\":'root.site='&context.metaSiteId&'.app=SiteMembers.type=SubscribedToSite',\"languageFilter\":language}],\"exclude\":[],\"membersGroups\":[]},\"topic\":\"root.site=\"&context.metaSiteId&\".app=14bcded7-0066-7c35-14d7-466cb3f09103.postId=\"&id,\"translationParams\":{\"title\":title,\"excerpt\":excerpt,\"image\":image,\"author_name\":author_name,\"author_avatar\":author_avatar},\"templateOverrides\":{\"automationsRuleId\":\"dd979c73-842d-9350-91dc-e305d08f38c7\",\"disabledChannels\":[\"BROWSER\",\"SMS\"]}}", | |
| "pingTemplateId":"TE.blog.new_post_published", | |
| "recipientType":"toTopicsSubscribers", | |
| "recipients":[ | |
| "'root.site='&context.metaSiteId&'.app=14ebe801-d78a-daa9-c9e5-0286a891e46f.siteMember='&memberId", | |
| "'root.site='&context.metaSiteId&'.app=14bcded7-0066-7c35-14d7-466cb3f09103.entity=blog'"], | |
| "settingsGroup":"blog.posts", | |
| "singleBody":"{{author_name}} published a new post: \"{{title}}\"", | |
| "singleDeepLink":"url", | |
| "singleTitle":"New Blog Post ✍️", | |
| "token":"JWS.eyJraWQiOiJMeGt4ekVNOCIsImFsZyI6IkhTMjU2In0.eyJkYXRhIjoie1widGVtcGxhdGVJZFwiOlwiVEUuYmxvZy5uZXdfcG9zdF9wdWJsaXNoZWRcIixcImF1dG9tYXRpb25zUnVsZUlkXCI6XCJkZDk3OWM3My04NDJkLTkzNTAtOTFkYy1lMzA1ZDA4ZjM4YzdcIixcInNpbmdsZURlZXBMaW5rXCI6XCJ1cmxcIixcImluaXRpYXRvclR5cGVcIjpcIk1lbWJlclwiLFwicmVjaXBpZW50c0tleXNcIjpbXCJhdXRob3JGb2xsb3dlcnNcIixcImJsb2dTdWJzY3JpYmVyc1wiLFwic2l0ZU1lbWJlcnNcIl0sXCJlbmFibGVBdWRpZW5jZVNlbGVjdGlvblwiOnRydWV9IiwiaWF0IjoxNjM0MTA4MjczfQ.io9lz71ovVrN1IjO35QKbpLr13yXGF_iM1sYRgcUWI4", | |
| "topicFields":[ | |
| { | |
| "mapping":"id", | |
| "displayName":"Blog Post", | |
| "key":"postId" | |
| }], | |
| "useUniqueKeys":true, | |
| "changeable":{ | |
| "recipientsKeys":[ | |
| "siteMembers", | |
| "authorFollowers", | |
| "blogSubscribers"], | |
| "disabledChannels":[ | |
| "BROWSER", | |
| "SMS"], | |
| "placeHolders":[ | |
| { | |
| "fieldName":"title", | |
| "fieldType":"TEXT", | |
| "isExposed":true | |
| }, | |
| { | |
| "fieldName":"excerpt", | |
| "fieldType":"TEXT", | |
| "isExposed":true | |
| }, | |
| { | |
| "fieldName":"id", | |
| "fieldType":"TEXT", | |
| "isExposed":false | |
| }, | |
| { | |
| "fieldName":"firstPublishedDate", | |
| "fieldType":"DATETIME", | |
| "isExposed":true | |
| }, | |
| { | |
| "fieldName":"memberId", | |
| "fieldType":"TEXT", | |
| "isExposed":false | |
| }, | |
| { | |
| "fieldName":"url", | |
| "fieldType":"LIVESITE_LINK", | |
| "isExposed":true | |
| }, | |
| { | |
| "fieldName":"image", | |
| "fieldType":"IMAGE_LINK", | |
| "isExposed":true | |
| }, | |
| { | |
| "fieldName":"language", | |
| "fieldType":"TEXT", | |
| "isExposed":false | |
| }, | |
| { | |
| "fieldName":"author_name", | |
| "fieldType":"TEXT", | |
| "isExposed":true | |
| }, | |
| { | |
| "fieldName":"author_avatar", | |
| "fieldType":"IMAGE_LINK", | |
| "isExposed":true | |
| }] | |
| }, | |
| "inputMappingJSONForTesting":{ | |
| "spout":{ | |
| "wixApp":"14bcded7-0066-7c35-14d7-466cb3f09103" | |
| }, | |
| "correlationIdOverride":"{{context.activationId}}", | |
| "placeholders":{ | |
| "firstPublishedDate":{ | |
| "datetime":{ | |
| "timestamp":"{{firstPublishedDate}}" | |
| } | |
| }, | |
| "url":{ | |
| "actionTarget":"{{url}}" | |
| } | |
| }, | |
| "initiator":{ | |
| "siteMember":{ | |
| "metaSiteId":"{{context.metaSiteId}}", | |
| "siteMemberId":"{{memberId}}" | |
| } | |
| }, | |
| "actionTarget":"{{url}}", | |
| "templateId":"TE.blog.new_post_published", | |
| "toTopicsSubscribers":{ | |
| "filterableTopics":[ | |
| { | |
| "topic":"{{'root.site='&context.metaSiteId&'.app=14bcded7-0066-7c35-14d7-466cb3f09103.entity=blog'}}", | |
| "languageFilter":"{{language}}" | |
| }, | |
| { | |
| "topic":"{{'root.site='&context.metaSiteId&'.app=14ebe801-d78a-daa9-c9e5-0286a891e46f.siteMember='&memberId}}" | |
| }, | |
| { | |
| "topic":"{{'root.site='&context.metaSiteId&'.app=SiteMembers.type=SubscribedToSite'}}", | |
| "languageFilter":"{{language}}" | |
| }] | |
| }, | |
| "topic":"root.site=&{{context.metaSiteId}}&.app=14bcded7-0066-7c35-14d7-466cb3f09103.postId=&{{id}}", | |
| "translationParams":{ | |
| "title":"{{title}}", | |
| "excerpt":"{{excerpt}}", | |
| "image":"{{image}}", | |
| "author_name":"{{author_name}}", | |
| "author_avatar":"{{author_avatar}}" | |
| }, | |
| "templateOverrides":{ | |
| "automationsRuleId":"dd979c73-842d-9350-91dc-e305d08f38c7", | |
| "disabledChannels":[ | |
| "BROWSER", | |
| "SMS"] | |
| } | |
| }, | |
| "pingTemplateWasCreatedInThisSession":false, | |
| "userRecipientKeys":[ | |
| "siteMembers", | |
| "authorFollowers", | |
| "blogSubscribers"] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment