Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Heroku Message contents

This is the complete data model of all objects contained in the Social25 package. Using the Salesforce Bulk API records will get created in the Salesforce instance in the Social25__Heroku_Message__c object. Records that get inserted always contain the same structure but contain different data.

All examples are for text messages, attachment message don't differ that much from a text message. The difference will be that Social25__Content_Url__c, Social25__Mime_Type__c, Social25__File_Type__c and Social25__Media_Title__c will be filed with file information. If an accompanying text has been sent this can be found in the Social25__Text__c field. 

Facebook Messenger

Code Block
{ 
	"Social25__Identifier__c":"92dd772d38bd4d64abf832fe279b189b",
	"Social25__External_Identifier__c":"B0bpD8GPx0MJTG1ja-WR31BPtu5lA2oz8N_TLP5EV7CoLPJ2ANUCwYP9LKpEY7w5PSlfqX8d5Kd4qGd95UndaQ",
	"Social25__Text__c":"Hi, how are you?",
	"Social25__Outbound__c":0,
	"Social25__Media_Title__c":"#N/A",
	"Social25__File_Type__c":"#N/A",
	"Social25__Mime_Type__c":"#N/A",
	"Social25__Content_Url__c":"#N/A",
	"Social25__Auxiliary_Data__c":"#N/A",
	"Social25__Agent_Identifier__c":"#N/A",
	"Social25__Timestamp__c":"2019-10-01T09:16:28Z",
	"Social25__Chat_Identifier__c":"60f644288y225df7bb279772aa734621",
	"Social25__Custom_Identifer__c":"#N/A",
	"Social25__Conversation_Medium__c":"facebook",
	"Social25__Conversation_State__c":"OPEN",
	"Social25__Platform_Identifier__c":"262358007148636",
	"Social25__User_Full_Name__c":"Clara Oswald",
	"Social25__User_Gender__c":"female",
	"Social25__User_Active__c":1,
	"Social25__User_Locale_GMT_Offset__c":2,
	"Social25__User_Profile_Image_URL__c":{
		"url":"https://public.url/image",
		"etag":"12d61ea01edf989fc94beab63cfed353",
		"path":"4a75b647b22c4fb48bc1dd8a571asdd9/Facebook/profile_images/eab4a42db1ddef95b8dca191b794c593",
		"type":"private",
		"title":"eab4a42db1bb4f95b8dca191b794c233",
		"resource_type":"base64"
	},
	"Social25__User_Phone_Number__c":"#N/A",
	"Social25__User_First_Name__c":"Clara",
	"Social25__User_Last_Name__c":"Oswald",
	"Social25__User_Identifier__c":"60f633244d225df7bb279772aa734621",
	"Social25__User_External_Identifier__c":"2763482309724616"
}

Whatsapp & Whatsapp Business

Code Block
{ 
	"Social25__Identifier__c":"d6a13ae99d8d4defa9eb2f99c8da3b2a",
	"Social25__External_Identifier__c":"ec7633ad2f18f950c0714ddd8430e7bc5ad7f97b",
	"Social25__Text__c":"Text message",
	"Social25__Outbound__c":0,
	"Social25__Media_Title__c":"#N/A",
	"Social25__File_Type__c":"#N/A",
	"Social25__Mime_Type__c":"#N/A",
	"Social25__Content_Url__c":"#N/A",
	"Social25__Auxiliary_Data__c":"#N/A",
	"Social25__Agent_Identifier__c":"#N/A",
	"Social25__Timestamp__c":"2019-11-29T10:42:29Z",
	"Social25__Chat_Identifier__c":"43340e2862a25aedbe795ff17a0e8e5e",
	"Social25__Custom_Identifer__c":"#N/A",
	"Social25__Conversation_Medium__c":"whatsapp",
	"Social25__Conversation_State__c":"OPEN",
	"Social25__Platform_Identifier__c":"31613397500",
	"Social25__User_Full_Name__c":"Clara Oswald",
	"Social25__User_Gender__c":"#N/A",
	"Social25__User_Active__c":1,
	"Social25__User_Locale_GMT_Offset__c":"#N/A",
	"Social25__User_Profile_Image_URL__c":{ 
		"url":"https://public.url/image",
		"etag":"12d61ea01edf989fc94beab63cfed353",
		"path":"4a75b647b22c4fb48bc1dd8a571asdd9/Whatsapp/profile_images/eab4a42db1ddef95b8dca191b794c593",
		"type":"private",
		"title":"eab4a42db1bb4f95b8dca191b794c233",
		"resource_type":"base64"
	},
	"Social25__User_Phone_Number__c":"31612345678",
	"Social25__User_First_Name__c":"#N/A",
	"Social25__User_Last_Name__c":"#N/A",
	"Social25__User_Identifier__c":"43190e2362a25aedbe795ff17a0e8e5e",
	"Social25__User_External_Identifier__c":"31612345678@s.whatsapp.net"
}

Twitter

Code Block
{ 
	"Social25__Identifier__c":"baf3a4acb06b886288bbc96e397d31d3",
	"Social25__External_Identifier__c":"2220174347152434693",
	"Social25__Text__c":"How you doin?",
	"Social25__Outbound__c":0,
	"Social25__Media_Title__c":"#N/A",
	"Social25__File_Type__c":"#N/A",
	"Social25__Mime_Type__c":"#N/A",
	"Social25__Content_Url__c":"#N/A",
	"Social25__Auxiliary_Data__c":"#N/A",
	"Social25__Agent_Identifier__c":"#N/A",
	"Social25__Timestamp__c":"2019-04-22T04:35:35Z",
	"Social25__Chat_Identifier__c":"b0a95ed58bab23d185c12781f24f3394",
	"Social25__Custom_Identifer__c":"#N/A",
	"Social25__Conversation_Medium__c":"twitter",
	"Social25__Conversation_State__c":"OPEN",
	"Social25__Platform_Identifier__c":"60834370",
	"Social25__User_Full_Name__c":"clara91",
	"Social25__User_Gender__c":"#N/A",
	"Social25__User_Active__c":1,
	"Social25__User_Locale_GMT_Offset__c":"#N/A",
	"Social25__User_Profile_Image_URL__c":"#N/A",
	"Social25__User_Phone_Number__c":"#N/A",
	"Social25__User_First_Name__c":"#N/A",
	"Social25__User_Last_Name__c":"Clara Oswald",
	"Social25__User_Identifier__c":"a40d7e345e6c53548f47c6cf141ea8d4",
	"Social25__User_External_Identifier__c":"470894242"
}

SMS

Code Block
{
   "Social25__Identifier__c":"ec76a6c52428462fbb46f3c04e715fe7",
   "Social25__Text__c":"Simple text message",
   "Social25__Outbound__c":1,
   "Social25__Media_Title__c":"#N/A",
   "Social25__File_Type__c":"#N/A",
   "Social25__Mime_Type__c":"#N/A",
   "Social25__Content_Url__c":"#N/A",
   "Social25__Auxiliary_Data__c":"#N/A",
   "Social25__Agent_Identifier__c":"#N/A",
   "Social25__Chat_Identifier__c":"990af6c8681a42a585e83bc5db2898a9",
   "Social25__Custom_Identifer__c":"#N/A",
   "Social25__Conversation_Medium__c":"SMS",
   "Social25__Conversation_State__c":"OPEN",
   "Social25__User_Full_Name__c":"#N/A",
   "Social25__User_Gender__c":"#N/A",
   "Social25__User_Active__c":1,
   "Social25__User_Locale_GMT_Offset__c":"#N/A",
   "Social25__User_Profile_Image_URL__c":"#N/A",
   "Social25__User_Phone_Number__c":"31612345678",
   "Social25__User_First_Name__c":"Clara Oswald",
   "Social25__User_Last_Name__c":"#N/A",
   "Social25__User_Identifier__c":"744fbdd3dc8b4942b90a2565f734e717",
   "Social25__User_External_Identifier__c":"31612345678"
}

WeChat

Code Block
{
   "Social25__Identifier__c":"9334b87c00444f94b15ht4adb27g9em9",
   "Social25__Text__c":"Hi, can you do something for me?",
   "Social25__Outbound__c":1,
   "Social25__Media_Title__c":"#N/A",
   "Social25__File_Type__c":"#N/A",
   "Social25__Mime_Type__c":"#N/A",
   "Social25__Content_Url__c":"#N/A",
   "Social25__Auxiliary_Data__c":"#N/A",
   "Social25__Agent_Identifier__c":"#N/A",
   "Social25__Chat_Identifier__c":"31c87152ff1056bd9780e274915eg2ed",
   "Social25__Custom_Identifer__c":"#N/A",
   "Social25__Conversation_Medium__c":"WeChat",
   "Social25__Conversation_State__c":"OPEN",
   "Social25__User_Full_Name__c":"#N/A",
   "Social25__User_Gender__c":"#N/A",
   "Social25__User_Active__c":1,
   "Social25__User_Locale_GMT_Offset__c":"#N/A",
   "Social25__User_Profile_Image_URL__c":"#N/A",
   "Social25__User_Phone_Number__c":"#N/A",
   "Social25__User_First_Name__c":"Clara Oswald",
   "Social25__User_Last_Name__c":"#N/A",
   "Social25__User_Identifier__c":"8a7fcr35442b530f9412b42416d37de8",
   "Social25__User_External_Identifier__c":"27634ew82fds3025sadf24616"
}


Line

Code Block
{
   "Social25__Identifier__c":"9334b87c00444f94b28ba4adb27f0b65",
   "Social25__Text__c":"This is the information that will be provided if a customer uses Line",
   "Social25__Outbound__c":1,
   "Social25__Media_Title__c":"#N/A",
   "Social25__File_Type__c":"#N/A",
   "Social25__Mime_Type__c":"#N/A",
   "Social25__Content_Url__c":"#N/A",
   "Social25__Auxiliary_Data__c":"#N/A",
   "Social25__Agent_Identifier__c":"#N/A",
   "Social25__Chat_Identifier__c":"31c87152ff1056bd9780e710519bc7cd",
   "Social25__Custom_Identifer__c":"#N/A",
   "Social25__Conversation_Medium__c":"Line",
   "Social25__Conversation_State__c":"OPEN",
   "Social25__User_Full_Name__c":"#N/A",
   "Social25__User_Gender__c":"#N/A",
   "Social25__User_Active__c":1,
   "Social25__User_Locale_GMT_Offset__c":"#N/A",
   "Social25__User_Profile_Image_URL__c":"#N/A",
   "Social25__User_Phone_Number__c":"#N/A",
   "Social25__User_First_Name__c":"Clara Oswald",
   "Social25__User_Last_Name__c":"#N/A",
   "Social25__User_Identifier__c":"8a7fca2bb42b530f9464d81616d37ea0",
   "Social25__User_External_Identifier__c":"2df634afsd82fwe9724616"
}

Telegram

Code Block
Data will be added soon.

KIK

Code Block
Data will be added soon.

Intercom

Code Block
Coming soon.


Info

More information about the configuration of the Social25 Package can be found on Configuring the Social25 Package page. 

Filter by label (Content by label)
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@14167
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ( "facebook" , "connect" , "messenger" , "facebook-messenger" ) and type = "page" and space = "SOC"
labelsfacebook facebook-messenger connect messenger

Page Properties
hiddentrue


Related issues





Panel
titleOn this page

Table of Contents