How to create the Treble Conversation object in Salesforce to save the WhatsApp history with rich formatting and images.
In addition to the Task or Event, Treble can save each conversation’s history in a Salesforce custom object with rich formatting: line breaks, links and images the person sent over WhatsApp.
It doesn’t replace the Task or Event: it adds to them. If you create this object, each closed conversation generates the usual activity and also a record in the custom object.
There’s nothing to enable on Treble’s side. The object just needs to exist in your Salesforce org, with the exact name and fields described below. Treble detects it on its own and starts writing to it.If the object doesn’t exist, Treble keeps working normally and only writes the Task or Event.
The API names must be exactly the ones listed here. If you change one, Treble won’t be able to write, and you won’t see an error in the platform: records simply won’t appear.
Click the gear icon at the top right and choose Setup.
2
Open the Object Manager
Search for “object manager” in the Setup search bar and go to Object Manager.
3
Create a custom object
Click Create → Custom Object.
4
Fill in the object definition
Field
Value
Label
Treble Conversation
Plural Label
Treble Conversations
Object Name
TrebleWhatsAppConversation
Record Name
Treble Conversation Name (or whatever text you prefer)
Data Type
Text
The Object Name is the one that matters. Salesforce adds __c automatically, so the API name ends up as TrebleWhatsAppConversation__c. Type it exactly like this, without spaces.
Save. When you’re done, the Details screen should show the correct API name:
The conversation’s start date and time, followed by its internal identifier. For example: 2026-10-13 14:22:05 - 8f3c...
Contact
The person’s record
Messages
The full transcript, formatted: each message on its own line, with the images the person sent embedded
Add the Treble Conversations related list to the page layout of your contacts’ object. That way the advisor sees all of that person’s conversations directly in the record, without having to look for them.
Check the API names one by one. That’s what fails in most cases:
The object must be TrebleWhatsAppConversation__c
The relationship field must be Contact__c
The messages field must be Messages__c
A different name makes the write fail silently: Treble keeps creating the Task or Event, but not the custom object record.
The object exists but the integration user can't see it
When you create a custom object, Salesforce leaves permissions disabled for all profiles by default. Confirm that the profile of the user Treble connected with has read and create permissions on the object and its fields.
I use multi-object and don't know which object to relate it to
The master-detail relationship points to a single object. If your operation spreads people across several objects, talk to your Customer Success Manager before creating it, to define which one is best and what happens with the records of the others.
Messages look cut off
The field was created with a length lower than the maximum. Edit it and raise the length to 131072.
Can I stop using the Task or Event and keep only this?
Not from the platform. Treble always writes the Task or Event; the custom object is additional. If the duplication gets in your way, talk to your Customer Success Manager.
When it’s written and which fields are filled in on the Task or Event.
View WhatsApp inside Salesforce
Reply to active conversations without leaving the CRM.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Home","colors":{"primary":"#6464FF","light":"#F7F8FF","dark":"#6464FF"},"logo":{"light":"https://mintcdn.com/trebleai/5XNOo1Uq3QVPV6lD/logo/treble-light.svg?fit=max\u0026auto=format\u0026n=5XNOo1Uq3QVPV6lD\u0026q=85\u0026s=0f7f2dba2b6ef63a34fe90483601df50","dark":"https://mintcdn.com/trebleai/5XNOo1Uq3QVPV6lD/logo/dark.svg?fit=max\u0026auto=format\u0026n=5XNOo1Uq3QVPV6lD\u0026q=85\u0026s=fe4efb4ec225da5a3af57d9b539341c2"},"favicon":"https://mintcdn.com/trebleai/N7qFKPzh9cWmkY9Y/favicon-treble.svg?fit=max\u0026auto=format\u0026n=N7qFKPzh9cWmkY9Y\u0026q=85\u0026s=97fb999775e0a3d4632062af00a6dd3f","appearance":{"default":"light","strict":true},"navbar":{"links":[{"href":"https://wa.me/12058834230","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.treble.ai"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/treble-ai"}},"integrations":{"amplitude":{"apiKey":"73db3d1720f71527cf6882e5063e25b6"},"intercom":{"appId":"uye4idh4"}},"styling":{"latex":true},"navigation":{"languages":[{"language":"es","default":true,"href":"es/home"},{"language":"en","href":"en/home"},{"language":"pt","href":"pt/home"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"trebleai","hasAudioNarration":false,"actualSubdomain":"trebleai","customDomains":["help.treble.ai"],"gitSource":{"type":"github","owner":"treble-ai","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae38e87cb3179e2a1a061d0","collectionId":"27b62e64-68af-41cf-8a76-7004f2a89c77","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae38e87cb3179e2a1a061d0"},"feedback":{"thumbs":true,"edits":false},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae38e87cb3179e2a1a061d0","clientVersion":"0.0.4076","searchFilterCounts":[{"language":"en","tag":"Documentation","count":197},{"language":"es","tag":"Documentación","count":197},{"language":"pt","tag":"Documentação","count":197},{"language":"en","tag":"User Guide","count":165},{"language":"es","tag":"Guía de usuario","count":165},{"language":"pt","tag":"Guia do usuário","count":165},{"language":"en","tag":"Integrations","count":53},{"language":"es","tag":"Integraciones","count":53},{"language":"pt","tag":"Integrações","count":53},{"language":"en","tag":"API Reference","count":31},{"language":"es","tag":"Referencia de API","count":31},{"language":"pt","tag":"Referência da API","count":31},{"language":"en","tag":"Main Platform","count":22},{"language":"es","tag":"Plataforma Principal","count":22},{"language":"pt","tag":"Plataforma Principal","count":22},{"language":"en","tag":"Build with Treble","count":20},{"language":"en","tag":"Analytics Warehouse","count":20},{"language":"es","tag":"Construye con Treble","count":20},{"language":"es","tag":"Analytics Warehouse","count":20},{"language":"pt","tag":"Construa com o Treble","count":20},{"language":"pt","tag":"Analytics Warehouse","count":20},{"language":"en","tag":"Blocks","count":19},{"language":"en","tag":"HubSpot","count":19},{"language":"en","tag":"Salesforce","count":19},{"language":"es","tag":"Bloques","count":19},{"language":"es","tag":"HubSpot","count":19},{"language":"es","tag":"Salesforce","count":19},{"language":"pt","tag":"Blocos","count":19},{"language":"pt","tag":"HubSpot","count":19},{"language":"pt","tag":"Salesforce","count":19}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":":root{--font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif}.hero-container{text-align:center;padding:4rem 1rem;background-color:#fafafa}.hero-title{font-size:3rem;font-weight:600;margin-bottom:1rem;color:#111827}.hero-description{font-size:1.125rem;color:#4b5563;margin-bottom:2rem;max-width:600px;margin-left:auto;margin-right:auto}.search-input{width:100%;max-width:500px;padding:0.75rem 1rem;border:1px solid #e5e7eb;border-radius:0.5rem;font-size:1rem;margin-bottom:2rem;cursor:pointer;background-color:white;transition:all 0.2s ease}.search-input:hover{border-color:#d1d5db;background-color:#f9fafb;box-shadow:0 1px 3px rgba(0, 0, 0, 0.1)}.search-input:focus{outline:none;border-color:#d1d5db;box-shadow:0 1px 3px rgba(0, 0, 0, 0.1)}.explore-link{color:#111827;text-decoration:none;font-weight:500}.explore-link:hover{text-decoration:underline}.section-title{text-align:center;font-size:2rem;font-weight:600;color:#111827;margin:4rem 0 2rem}.tools-guides-container{margin:6rem auto 8rem;max-width:70rem;padding-left:1.25rem;padding-right:1.25rem}.tools-guides-header{text-align:center;margin-bottom:3rem}.tools-guides-grid{width:100%}.hr{border-color:rgb(var(--gray-100));border-top-width:1px;margin-top:3em;margin-bottom:3em}.loom-video{position:relative;padding-bottom:62.5%;height:0}.loom-video iframe{position:absolute;top:0;left:0;width:100%;height:100%}a.article-link{color:var(--tw-prose-links);text-decoration:none;font-weight:600;border-bottom:2px solid rgb(var(--primary-dark));transition:border-color 0.2s ease;position:relative;display:inline-flex;align-items:center}a.article-link p{margin:0}a.article-link svg{width:14px!important;height:14px!important;margin-left:4px}a.article-link:hover{color:rgb(var(--primary-dark));border-color:transparent;background-color:rgba(var(--primary-dark), 0.1);transition:color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease}.interactive-guide .step-container{margin-bottom:2rem;padding:1.5rem;border:1px solid #e5e7eb;border-radius:0.5rem;display:none;opacity:0;transform:translateY(10px);transition:opacity 0.3s ease, transform 0.3s ease}.interactive-guide .step-container h3{margin-top:0}.interactive-guide .step-container.active{display:block}.interactive-guide .step-container.current{opacity:1;transform:translateY(0)}.interactive-guide .step-container.completed{border-color:#10B981}.interactive-guide .step-navigation{display:flex;justify-content:flex-start;margin-bottom:2rem;gap:0.5rem}.interactive-guide .step-indicator{width:2rem;height:2rem;border-radius:50%;background-color:#f3f4f6;border:2px solid #e5e7eb;display:flex;align-items:center;justify-content:center;font-size:0.875rem;font-weight:500;color:#6b7280;cursor:pointer;transition:all 0.2s ease}.interactive-guide .step-indicator:hover{border-color:#d1d5db;background-color:#e5e7eb}.interactive-guide .step-indicator.current{background-color:#10B981;border-color:#059669;color:white}.interactive-guide .step-indicator.completed{background-color:#D1FAE5;border-color:#10B981;color:#059669}.interactive-guide .step-indicator.completed:hover{background-color:#A7F3D0}.interactive-guide .choice-buttons{display:flex;gap:1rem;margin-top:1rem}.interactive-guide .choice-button{padding:0.5rem 1rem;border:1px solid #e5e7eb;border-radius:0.25rem;background-color:white;cursor:pointer;transition:all 0.2s}.interactive-guide .choice-button:hover{background-color:#f9fafb;border-color:#d1d5db}.interactive-guide .choice-button.yes{background-color:#10B981;color:white;border-color:#059669}.interactive-guide .choice-button.no{background-color:#EF4444;color:white;border-color:#DC2626}.interactive-guide .choice-button.yes:hover{background-color:#059669}.interactive-guide .choice-button.no:hover{background-color:#DC2626}.interactive-guide .result-message{margin-top:1rem;padding:1rem;border-radius:0.25rem;display:none}.interactive-guide .result-message.success{background-color:#D1FAE5;color:#065F46;display:block}.interactive-guide .result-message.error{background-color:#FEE2E2;color:#991B1B;display:block}.interactive-guide .sub-steps{margin-top:1rem;display:none}.interactive-guide .sub-steps.active{display:block}.interactive-guide .checkbox-item{display:flex;flex-direction:column;margin-bottom:1rem;padding:0.75rem;border-radius:0.25rem;border:1px solid #e5e7eb;transition:all 0.2s}.interactive-guide .checkbox-item:hover{border-color:#d1d5db}.interactive-guide .checkbox-row{display:flex;align-items:center;justify-content:space-between}.interactive-guide .checkbox-label{display:flex;align-items:center;gap:0.75rem}.interactive-guide .toggle-buttons{display:flex;gap:0.5rem}.interactive-guide .toggle-button{padding:0.25rem 0.75rem;border:1px solid #e5e7eb;border-radius:0.25rem;background-color:white;font-size:0.875rem;cursor:pointer;transition:all 0.2s}.interactive-guide .toggle-button.selected{background-color:#10B981;color:white;border-color:#059669}.interactive-guide .toggle-button.selected.no{background-color:#EF4444;border-color:#DC2626}.interactive-guide .sub-step-help{display:none;margin-top:0.5rem;padding:0.75rem;background-color:#FEF3C7;border-radius:0.25rem;color:#92400E}.interactive-guide .sub-step-help.active{display:block}.interactive-guide .sub-step-help a{color:#92400E}.interactive-guide .sub-step-help a:hover{color:#78350F}.interactive-guide .progress-indicator{margin-top:1rem;height:0.5rem;background-color:#e5e7eb;border-radius:0.25rem;overflow:hidden}.interactive-guide .progress-bar{height:100%;background-color:#10B981;transition:width 0.3s ease;width:0%}.interactive-guide .sub-steps-summary{margin-top:1rem;padding:0.75rem;border-radius:0.25rem;background-color:#f9fafb;display:none}.interactive-guide .sub-steps-summary.complete{display:block;background-color:#D1FAE5;color:#065F46}"}],"page":{"pagePath":"en/docs/integrations/salesforce/features/custom-object","slug":"/en/docs/integrations/salesforce/features/custom-object","pageMetadata":{"title":"Conversations custom object","description":"How to create the Treble Conversation object in Salesforce to save the WhatsApp history with rich formatting and images.","href":"/en/docs/integrations/salesforce/features/custom-object"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"How to create the Treble Conversation object in Salesforce to save the WhatsApp history with rich formatting and images.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,em:`em`,li:`li`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,Card,CardGroup,Check,Heading,Info,Note,OptimizedImage,Step,Steps,Table,Tip,Warning}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!Check)_missingMdxReference(`Check`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Note)_missingMdxReference(`Note`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`In addition to the Task or Event, Treble can save each conversation’s history in a Salesforce `,_jsx(_components.strong,{children:`custom object`}),` with rich formatting: line breaks, links and images the person sent over WhatsApp.`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`It doesn’t replace the Task or Event: it adds to them.`}),` If you create this object, each closed conversation generates the usual activity `,_jsx(_components.strong,{children:`and also`}),` a record in the custom object.`]})}),`\n`,_jsxs(Info,{children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`There’s nothing to enable on Treble’s side.`}),` The object just needs to exist in your Salesforce org, with the exact name and fields described below. Treble detects it on its own and starts writing to it.`]}),_jsx(_components.p,{children:`If the object doesn’t exist, Treble keeps working normally and only writes the Task or Event.`})]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`The API names must be `,_jsx(_components.strong,{children:`exactly`}),` the ones listed here. If you change one, Treble won’t be able to write, and you won’t see an error in the platform: records simply won’t appear.`]})}),`\n`,_jsx(`div`,{class:`hr`}),`\n`,_jsx(Heading,{level:`2`,id:`what-you’re-going-to-create`,children:`What you’re going to create`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{}),_jsx(_components.th,{children:`API name`}),_jsx(_components.th,{children:`Type`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`The object`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`TrebleWhatsAppConversation__c`})}),_jsx(_components.td,{children:`Custom object`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Relationship to the record`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Contact__c`})}),_jsx(_components.td,{children:`Master-detail relationship`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`The transcript`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Messages__c`})}),_jsx(_components.td,{children:`Rich text area`})]})]})]}),`\n`,_jsx(_components.p,{children:`This is done in Salesforce, with an administrator user. It takes about 10 minutes.`}),`\n`,_jsx(`div`,{class:`hr`}),`\n`,_jsx(Heading,{level:`2`,id:`1-create-the-object`,children:`1. Create the object`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Go to Setup`,children:[_jsxs(_components.p,{children:[`Click the gear icon at the top right and choose `,_jsx(_components.strong,{children:`Setup`}),`.`]}),_jsx(OptimizedImage,{src:`https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-1.png?fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=cddc709fa10ac418b65a3d92869548c3`,alt:`Open Setup in Salesforce`,width:`320`,className:`mint-mx-auto`,\"data-og-width\":`634`,\"data-og-height\":`222`,\"data-path\":`images/salesforce-custom-object-1.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-1.png?w=280\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=274305672308175df70c6422c3052f64 280w, https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-1.png?w=560\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=0a5da71404faae55b655dce8e4833f7d 560w, https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-1.png?w=840\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=4bf01e08c112d4fa34c98255683a4f91 840w, https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-1.png?w=1100\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=ea27d57c9b7e7a4c16bc9547a1b9e999 1100w, https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-1.png?w=1650\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=d6c647f69f2d2041222fed5fdac68d12 1650w, https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-1.png?w=2500\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=4b7b09d87f2373ac95226ef55a6e7a9a 2500w`})]}),_jsxs(Step,{title:`Open the Object Manager`,children:[_jsxs(_components.p,{children:[`Search for “object manager” in the Setup search bar and go to `,_jsx(_components.strong,{children:`Object Manager`}),`.`]}),_jsx(OptimizedImage,{src:`https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-2.png?fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=dc3c5ba2d786c6273e774f7866c95a05`,alt:`Search for Object Manager`,className:`mint-mx-auto`,\"data-og-width\":`3456`,width:`3456`,\"data-og-height\":`370`,height:`370`,\"data-path\":`images/salesforce-custom-object-2.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-2.png?w=280\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=8af8ddbe18dd51437a7973fcde369eb0 280w, https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-2.png?w=560\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=60aa82326eaed465a44c919106656e14 560w, https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-2.png?w=840\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=697fd14f97b2f50e6888a2512fdcc109 840w, https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-2.png?w=1100\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=af657f1d6f50b3ffe0f39a6cc41b6283 1100w, https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-2.png?w=1650\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=b1226a34c626dc7f126f0e7ab359a172 1650w, https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-2.png?w=2500\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=a82fce984f5a6f342f889988f1dde54a 2500w`})]}),_jsxs(Step,{title:`Create a custom object`,children:[_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Create → Custom Object`}),`.`]}),_jsx(OptimizedImage,{src:`https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-3.png?fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=4d528115a2836813748a8a214a0c7a4a`,alt:`Create a custom object`,className:`mint-mx-auto`,\"data-og-width\":`3442`,width:`3442`,\"data-og-height\":`528`,height:`528`,\"data-path\":`images/salesforce-custom-object-3.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-3.png?w=280\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=839a14a9ed7f16e7051fe4a0c0c46b61 280w, https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-3.png?w=560\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=2a5169d2a5290749c6034e29756d70b2 560w, https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-3.png?w=840\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=93cc0ff287458a46bf4e22baf87fdb12 840w, https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-3.png?w=1100\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=e824792f249a45af743655357b3efaf3 1100w, https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-3.png?w=1650\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=a512d85b2689d4ab0133a6fb23957735 1650w, https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-3.png?w=2500\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=0c5df13dd18e2040d45e96da5bd82a72 2500w`})]}),_jsxs(Step,{title:`Fill in the object definition`,children:[_jsx(OptimizedImage,{src:`https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-4.png?fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=566cc286e33ef521e6f478dd46b58854`,alt:`Custom object definition form`,className:`mint-mx-auto`,\"data-og-width\":`3426`,width:`3426`,\"data-og-height\":`1548`,height:`1548`,\"data-path\":`images/salesforce-custom-object-4.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-4.png?w=280\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=51efcee607dbcc18115747e6dbdb4152 280w, https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-4.png?w=560\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=0a4ec4a7b7d48d4c344521fc8a2d5cc4 560w, https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-4.png?w=840\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=ed3544b9460e577ed98e4009c5e80627 840w, https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-4.png?w=1100\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=0ef82b507afb70021a33a36fb2177343 1100w, https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-4.png?w=1650\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=d4cb9bba01efb8921f6251cde34e4df4 1650w, https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-4.png?w=2500\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=5715e8e4be720784b6fe0f4cfdd885b0 2500w`}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Value`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Label`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Treble Conversation`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Plural Label`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Treble Conversations`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Object Name`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`TrebleWhatsAppConversation`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Record Name`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`Treble Conversation Name`}),` (or whatever text you prefer)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Data Type`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Text`})})]})]})]}),_jsx(Warning,{children:_jsxs(_components.p,{children:[`The `,_jsx(_components.strong,{children:`Object Name`}),` is the one that matters. Salesforce adds `,_jsx(_components.code,{children:`__c`}),` automatically, so the API name ends up as `,_jsx(_components.code,{children:`TrebleWhatsAppConversation__c`}),`. Type it exactly like this, without spaces.`]})}),_jsxs(_components.p,{children:[`Save. When you’re done, the `,_jsx(_components.strong,{children:`Details`}),` screen should show the correct API name:`]}),_jsx(OptimizedImage,{src:`https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-5.png?fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=0d36502806a60af361a99b546fa74b16`,alt:`Details of the Treble Conversation object once created`,className:`mint-mx-auto`,\"data-og-width\":`3456`,width:`3456`,\"data-og-height\":`1566`,height:`1566`,\"data-path\":`images/salesforce-custom-object-5.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-5.png?w=280\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=ebd49d942f44dc245b9290628b91ee9a 280w, https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-5.png?w=560\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=b24d32c635819b578680e4c355c11814 560w, https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-5.png?w=840\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=eccc01f75e14dc9c1e3e5b36176148e9 840w, https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-5.png?w=1100\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=3f4dcb290665478e84ae137979cdae3a 1100w, https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-5.png?w=1650\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=1802a147b533e8f44ea8f3044ea31c52 1650w, https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-5.png?w=2500\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=a972ff97e285a3f2274c38e82c003be3 2500w`})]})]}),`\n`,_jsx(`div`,{class:`hr`}),`\n`,_jsx(Heading,{level:`2`,id:`2-create-the-relationship-to-the-record`,children:`2. Create the relationship to the record`}),`\n`,_jsx(_components.p,{children:`This field is what connects each conversation to the person it belongs to.`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Go to Fields \u0026 Relationships → New`,children:_jsxs(_components.p,{children:[`Inside the `,_jsx(_components.strong,{children:`Treble Conversation`}),` object, open the `,_jsx(_components.strong,{children:`Fields \u0026 Relationships`}),` tab and click `,_jsx(_components.strong,{children:`New`}),`.`]})}),_jsx(Step,{title:`Choose Master-Detail Relationship`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-6.png?fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=bf32b43293a067b254968f13bbfaaaf7`,alt:`Choose the Master-Detail Relationship field type`,className:`mint-mx-auto`,\"data-og-width\":`3450`,width:`3450`,\"data-og-height\":`1740`,height:`1740`,\"data-path\":`images/salesforce-custom-object-6.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-6.png?w=280\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=9ad463ccef33c1bf93165108d5ad01f3 280w, https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-6.png?w=560\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=9322c57be64fb78fec9c5332ce70a9c1 560w, https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-6.png?w=840\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=596e0760c3a4e764329449a17304c506 840w, https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-6.png?w=1100\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=fa2542fd9d90431a4e4c23cd2b4150a6 1100w, https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-6.png?w=1650\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=85533ace6edf6ec1134481381a0d0e0b 1650w, https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-6.png?w=2500\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=eb17abf49c200e110d420f28404648e7 2500w`})}),_jsxs(Step,{title:`Relate it to the person's object`,children:[_jsxs(_components.p,{children:[`In `,_jsx(_components.strong,{children:`Related To`}),`, choose the object where your contacts live (usually `,_jsx(_components.code,{children:`Contact`}),`).`]}),_jsx(OptimizedImage,{src:`https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-7.png?fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=ade6661eb71efa2a1657b9e9c771f0da`,alt:`Choose the related object`,className:`mint-mx-auto`,\"data-og-width\":`3444`,width:`3444`,\"data-og-height\":`1742`,height:`1742`,\"data-path\":`images/salesforce-custom-object-7.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-7.png?w=280\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=1ad966c78a4e4a05f5cf2472d71c4474 280w, https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-7.png?w=560\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=f69a1c02875b910a7296a80c3dffff6c 560w, https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-7.png?w=840\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=bd15d32f094cf731ba5ee771cf2eb92b 840w, https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-7.png?w=1100\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=e222a6e9ad1e9502023a7306652fe995 1100w, https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-7.png?w=1650\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=d5e14c56d58696663be4e1224418924f 1650w, https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-7.png?w=2500\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=5eda03321c57a4a3242fcf11d4bdeb3b 2500w`})]}),_jsxs(Step,{title:`Name the field`,children:[_jsx(OptimizedImage,{src:`https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-8.png?fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=da861f086bad451b99732abcd1f3ae54`,alt:`Name the relationship field`,className:`mint-mx-auto`,\"data-og-width\":`2930`,width:`2930`,\"data-og-height\":`1316`,height:`1316`,\"data-path\":`images/salesforce-custom-object-8.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-8.png?w=280\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=4b38d5147270c3f4a9a85b0b85f98759 280w, https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-8.png?w=560\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=ccf5855ef9d51d3738416d026ff27932 560w, https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-8.png?w=840\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=712c0710015ce8964267589f07374b15 840w, https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-8.png?w=1100\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=c2e24a69f503d657b11c8ca7696a9e82 1100w, https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-8.png?w=1650\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=3772fc82a7463ad70bdb941cac347b77 1650w, https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-8.png?w=2500\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=68dceb55fec984473bc8121bb0730138 2500w`}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Value`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Field Label`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Contact`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Field Name`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Contact`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Child Relationship Name`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`TrebleWhatsAppConversations`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Sharing Setting`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Read/Write`})})]})]})]}),_jsx(Warning,{children:_jsxs(_components.p,{children:[`The `,_jsx(_components.strong,{children:`Field Name`}),` must be exactly `,_jsx(_components.code,{children:`Contact`}),`, because the resulting API name (`,_jsx(_components.code,{children:`Contact__c`}),`) is the one Treble uses when writing.`]})}),_jsx(_components.p,{children:`Go through the remaining steps (profile visibility and page layouts) with the default values and save.`})]})]}),`\n`,_jsx(`div`,{class:`hr`}),`\n`,_jsx(Heading,{level:`2`,id:`3-create-the-messages-field`,children:`3. Create the messages field`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Fields \u0026 Relationships → New → Text Area (Rich)`,children:[_jsx(OptimizedImage,{src:`https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-9.png?fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=27bc978377bd3bfccd66de1a882fe300`,alt:`Choose the Text Area (Rich) field type`,className:`mint-mx-auto`,\"data-og-width\":`3444`,width:`3444`,\"data-og-height\":`1742`,height:`1742`,\"data-path\":`images/salesforce-custom-object-9.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-9.png?w=280\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=6824220f7d739774092c0f157bffb49c 280w, https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-9.png?w=560\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=2135c19577a87043b5618c5fc4d10555 560w, https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-9.png?w=840\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=bc11679933c8108a7018da940f41ecf4 840w, https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-9.png?w=1100\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=167e08577b1519d69fa0163103f64ba7 1100w, https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-9.png?w=1650\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=08d63e6180c9bdf5848202592249804a 1650w, https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-9.png?w=2500\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=38398894ac33f88824d995993850e4c8 2500w`}),_jsxs(_components.p,{children:[`It has to be `,_jsx(_components.strong,{children:`Text Area (Rich)`}),`, not `,_jsx(_components.em,{children:`Text Area (Long)`}),`. Rich text is what lets you see the line breaks and images in the conversation.`]})]}),_jsxs(Step,{title:`Fill in the field details`,children:[_jsx(OptimizedImage,{src:`https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-10.png?fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=ae59f83124208cbd70cd60e7537fe700`,alt:`Messages field details`,className:`mint-mx-auto`,\"data-og-width\":`2914`,width:`2914`,\"data-og-height\":`1172`,height:`1172`,\"data-path\":`images/salesforce-custom-object-10.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-10.png?w=280\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=4a5b1b4dccd8f212fae38ac05c5455c1 280w, https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-10.png?w=560\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=b169787174e31c459b4c507a69354f87 560w, https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-10.png?w=840\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=11e15feaca2c6e5e7c7a9c16ffcd56f3 840w, https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-10.png?w=1100\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=8a55ffc1ecab4d235bc33eb0a1133067 1100w, https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-10.png?w=1650\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=4716299cd98fd9a6773419a48565a7d9 1650w, https://mintcdn.com/trebleai/n_48dzI5l_tB6XfZ/images/salesforce-custom-object-10.png?w=2500\u0026fit=max\u0026auto=format\u0026n=n_48dzI5l_tB6XfZ\u0026q=85\u0026s=9311dc7ce6ce7e02cc0a27316674c10a 2500w`}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Value`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Field Label`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Messages`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Field Name`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Messages`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Length`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`131072`}),` (the maximum)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`# Visible Lines`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`25`})})]})]})]}),_jsx(Tip,{children:_jsx(_components.p,{children:`Use the maximum length. Long conversations can take up quite a bit of space, and a short field would cause the end of the transcript to be lost.`})}),_jsx(_components.p,{children:`Save.`})]})]}),`\n`,_jsx(Check,{children:_jsxs(_components.p,{children:[`Done. Starting with the next conversation that’s closed, you’ll see new records in `,_jsx(_components.strong,{children:`Treble Conversations`}),`, related to each person’s record.`]})}),`\n`,_jsx(`div`,{class:`hr`}),`\n`,_jsx(Heading,{level:`2`,id:`what-each-record-looks-like`,children:`What each record looks like`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`What it contains`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Name`})}),_jsxs(_components.td,{children:[`The conversation’s start date and time, followed by its internal identifier. For example: `,_jsx(_components.code,{children:`2026-10-13 14:22:05 - 8f3c...`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Contact`})}),_jsx(_components.td,{children:`The person’s record`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Messages`})}),_jsx(_components.td,{children:`The full transcript, formatted: each message on its own line, with the images the person sent embedded`})]})]})]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Add the `,_jsx(_components.strong,{children:`Treble Conversations`}),` related list to the page layout of your contacts’ object. That way the advisor sees all of that person’s conversations directly in the record, without having to look for them.`]})}),`\n`,_jsx(`div`,{class:`hr`}),`\n`,_jsx(Heading,{level:`2`,id:`common-issues`,children:`Common issues`}),`\n`,_jsxs(AccordionGroup,{children:[_jsxs(Accordion,{title:`I created the object but no records show up`,id:`i-created-the-object-but-no-records-show-up`,children:[_jsx(_components.p,{children:`Check the API names one by one. That’s what fails in most cases:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`The object must be `,_jsx(_components.code,{children:`TrebleWhatsAppConversation__c`})]}),`\n`,_jsxs(_components.li,{children:[`The relationship field must be `,_jsx(_components.code,{children:`Contact__c`})]}),`\n`,_jsxs(_components.li,{children:[`The messages field must be `,_jsx(_components.code,{children:`Messages__c`})]}),`\n`]}),_jsx(_components.p,{children:`A different name makes the write fail silently: Treble keeps creating the Task or Event, but not the custom object record.`})]}),_jsx(Accordion,{title:`The object exists but the integration user can't see it`,id:`the-object-exists-but-the-integration-user-cant-see-it`,children:_jsxs(_components.p,{children:[`When you create a custom object, Salesforce leaves permissions `,_jsx(_components.strong,{children:`disabled for all profiles`}),` by default. Confirm that the profile of the user Treble connected with has read and create permissions on the object and its fields.`]})}),_jsx(Accordion,{title:`I use multi-object and don't know which object to relate it to`,id:`i-use-multi-object-and-dont-know-which-object-to-relate-it-to`,children:_jsxs(_components.p,{children:[`The master-detail relationship points to `,_jsx(_components.strong,{children:`a single`}),` object. If your operation spreads people across several objects, talk to your Customer Success Manager before creating it, to define which one is best and what happens with the records of the others.`]})}),_jsx(Accordion,{title:`Messages look cut off`,id:`messages-look-cut-off`,children:_jsxs(_components.p,{children:[`The field was created with a length lower than the maximum. Edit it and raise the length to `,_jsx(_components.code,{children:`131072`}),`.`]})}),_jsx(Accordion,{title:`Can I stop using the Task or Event and keep only this?`,id:`can-i-stop-using-the-task-or-event-and-keep-only-this`,children:_jsx(_components.p,{children:`Not from the platform. Treble always writes the Task or Event; the custom object is additional. If the duplication gets in your way, talk to your Customer Success Manager.`})})]}),`\n`,_jsx(`div`,{class:`hr`}),`\n`,_jsx(Heading,{level:`2`,id:`next-steps`,children:`Next steps`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`Conversation history`,icon:`clock-rotate-left`,href:`/en/docs/integrations/salesforce/features/activities`,children:_jsx(_components.p,{children:`When it’s written and which fields are filled in on the Task or Event.`})}),_jsx(Card,{title:`View WhatsApp inside Salesforce`,icon:`window-maximize`,href:`/en/docs/integrations/salesforce/embed/custom-tab`,children:_jsx(_components.p,{children:`Reply to active conversations without leaving the CRM.`})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Conversations custom object","description":"How to create the Treble Conversation object in Salesforce to save the WhatsApp history with rich formatting and images.","href":"/en/docs/integrations/salesforce/features/custom-object"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"What you’re going to create","slug":"what-you’re-going-to-create","depth":2,"children":[]},{"title":"1. Create the object","slug":"1-create-the-object","depth":2,"children":[]},{"title":"2. Create the relationship to the record","slug":"2-create-the-relationship-to-the-record","depth":2,"children":[]},{"title":"3. Create the messages field","slug":"3-create-the-messages-field","depth":2,"children":[]},{"title":"What each record looks like","slug":"what-each-record-looks-like","depth":2,"children":[]},{"title":"Common issues","slug":"common-issues","depth":2,"children":[]},{"title":"Next steps","slug":"next-steps","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/trebleai/e8b64c48fcecfaa0/script.js"],"dynamicCss":".mint-mx-auto {\n margin-left: auto;\n margin-right: auto\n}","subdomain":"trebleai","siteName":"Home","title":"Conversations custom object - Home","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"es":{"href":"/es/docs/integrations/salesforce/features/custom-object","matchLevel":1},"en":{"href":"/en/docs/integrations/salesforce/features/custom-object","matchLevel":0},"pt":{"href":"/pt/docs/integrations/salesforce/features/custom-object","matchLevel":1}}},"lastModified":"2026-10-13T22:10:13.075Z","originalFileLocation":"en/docs/integrations/salesforce/features/custom-object.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"light\";if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"How to create the Treble Conversation object in Salesforce to save the WhatsApp history with rich formatting and images.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Home\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/trebleai/HNsHU13Wcqq09jY3/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/trebleai/HNsHU13Wcqq09jY3/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/trebleai/HNsHU13Wcqq09jY3/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/trebleai/HNsHU13Wcqq09jY3/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/trebleai/HNsHU13Wcqq09jY3/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/trebleai/HNsHU13Wcqq09jY3/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/trebleai/HNsHU13Wcqq09jY3/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/trebleai/HNsHU13Wcqq09jY3/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/trebleai/HNsHU13Wcqq09jY3/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Conversations custom object - Home\">\u003cmeta data-mint-head property=\"og:description\" content=\"How to create the Treble Conversation object in Salesforce to save the WhatsApp history with rich formatting and images.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Home\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://help.treble.ai/en/docs/integrations/salesforce/features/custom-object\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://trebleai.mintlify.site/_mintlify/api/og/v2?division=Features\u0026amp;title=Conversations+custom+object\u0026amp;description=How+to+create+the+Treble+Conversation+object+in+Salesforce+to+save+the+WhatsApp+history+with+rich+formatting+and+images.\u0026amp;theme=3f682625aa372d8383525fb3\u0026amp;signature=b850e31967c97dfbc18061c038a0a8792ac18a545805ec04db3eaa5256e6148a\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Conversations custom object - Home\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"How to create the Treble Conversation object in Salesforce to save the WhatsApp history with rich formatting and images.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://trebleai.mintlify.site/_mintlify/api/og/v2?division=Features\u0026amp;title=Conversations+custom+object\u0026amp;description=How+to+create+the+Treble+Conversation+object+in+Salesforce+to+save+the+WhatsApp+history+with+rich+formatting+and+images.\u0026amp;theme=3f682625aa372d8383525fb3\u0026amp;signature=b850e31967c97dfbc18061c038a0a8792ac18a545805ec04db3eaa5256e6148a\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/trebleai/HNsHU13Wcqq09jY3/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Home\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6464FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://help.treble.ai/en/docs/integrations/salesforce/features/custom-object\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/en/docs/integrations/salesforce/features/custom-object.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://help.treble.ai/en/docs/integrations/salesforce/features/custom-object\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://help.treble.ai/es/docs/integrations/salesforce/features/custom-object\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"pt\" href=\"https://help.treble.ai/pt/docs/integrations/salesforce/features/custom-object\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://help.treble.ai/es/docs/integrations/salesforce/features/custom-object\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://help.treble.ai/#organization\",\"name\":\"Home\",\"url\":\"https://help.treble.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/trebleai/5XNOo1Uq3QVPV6lD/logo/treble-light.svg?fit=max\u0026auto=format\u0026n=5XNOo1Uq3QVPV6lD\u0026q=85\u0026s=0f7f2dba2b6ef63a34fe90483601df50\"}},{\"@type\":\"WebSite\",\"@id\":\"https://help.treble.ai#website\",\"name\":\"Home\",\"url\":\"https://help.treble.ai\",\"publisher\":{\"@id\":\"https://help.treble.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://help.treble.ai/en/docs/integrations/salesforce/features/custom-object#webpage\",\"url\":\"https://help.treble.ai/en/docs/integrations/salesforce/features/custom-object\",\"name\":\"Conversations custom object\",\"description\":\"How to create the Treble Conversation object in Salesforce to save the WhatsApp history with rich formatting and images.\",\"dateModified\":\"2026-10-13T22:10:13.075Z\",\"isPartOf\":{\"@id\":\"https://help.treble.ai#website\"},\"breadcrumb\":{\"@id\":\"https://help.treble.ai/en/docs/integrations/salesforce/features/custom-object#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://help.treble.ai/en/docs/integrations/salesforce/features/custom-object#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Integrations\",\"item\":\"https://help.treble.ai/en/docs/integrations/welcome\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Salesforce\",\"item\":\"https://help.treble.ai/en/docs/integrations/salesforce/welcome\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Features\",\"item\":\"https://help.treble.ai/en/docs/integrations/salesforce/features/activities\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Conversations custom object\",\"item\":\"https://help.treble.ai/en/docs/integrations/salesforce/features/custom-object\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://help.treble.ai/en/docs/integrations/salesforce/features/custom-object#article\",\"headline\":\"Conversations custom object\",\"name\":\"Conversations custom object\",\"description\":\"How to create the Treble Conversation object in Salesforce to save the WhatsApp history with rich formatting and images.\",\"url\":\"https://help.treble.ai/en/docs/integrations/salesforce/features/custom-object\",\"mainEntityOfPage\":{\"@id\":\"https://help.treble.ai/en/docs/integrations/salesforce/features/custom-object#webpage\"},\"dateModified\":\"2026-10-13T22:10:13.075Z\",\"publisher\":{\"@id\":\"https://help.treble.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://help.treble.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Home\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Home","nav":{"global":null,"languages":[{"language":"es","default":true,"pages":[{"title":"es","href":"/es/docs/integrations/salesforce/features/custom-object"}]},{"language":"en","anchors":[{"anchor":"Documentation","icon":"book-open","tabs":[{"tab":"Welcome","pages":[{"title":"Welcome","href":"/en/home"}]},{"tab":"User Guide","groups":[{"group":"Get Started","pages":[{"title":"Welcome to Treble","sidebarTitle":"Overview","href":"/en/docs/welcome"},{"title":"Key Concepts","href":"/en/docs/key-concepts"},{"group":"Introduction to Treble","pages":[{"title":"Getting Started","href":"/en/docs/intro-to-treble/welcome"},{"title":"Outbound Conversation","href":"/en/docs/intro-to-treble/outbound-convo"},{"title":"Inbound Conversation","href":"/en/docs/intro-to-treble/inbound-convo"},{"title":"Tutorial: First Conversation Transferred to an Agent","href":"/en/docs/intro-to-treble/first-agent-convo"}]}]},{"group":"Meta","pages":[{"title":"Meta and Treble","href":"/en/docs/meta/overview"},{"title":"WhatsApp, WhatsApp Business, and WhatsApp Business API","href":"/en/docs/meta/wa-wabiz-api"},{"group":"Connect WhatsApp Line","pages":[{"title":"Connect WhatsApp Line","sidebarTitle":"Getting Started","href":"/en/docs/meta/guide/welcome"},{"title":"Prepare your website","href":"/en/docs/meta/guide/preparing-website"},{"title":"Meta Business Portfolio","href":"/en/docs/meta/guide/business-manager"},{"title":"Meta Verification","href":"/en/docs/meta/guide/meta-verification"},{"title":"WhatsApp Number","href":"/en/docs/meta/guide/whatsapp-number"}]},{"group":"Message Templates (HSM)","pages":[{"title":"HSM Templates","href":"/en/docs/meta/hsm-templates/intro"},{"title":"Utility Templates","href":"/en/docs/meta/hsm-templates/utility"},{"title":"Carousel Templates","href":"/en/docs/meta/hsm-templates/carousel"}]},{"title":"Green Check WhatsApp Line","href":"/en/docs/meta/green-check"},{"title":"WhatsApp Line Health","href":"/en/docs/meta/whatsapp-line-health"},{"title":"WhatsApp Business Platform Policies","href":"/en/docs/meta/waba-policies"},{"title":"WhatsApp Usernames \u0026 Business-Scoped User IDs (BSUID)","href":"/en/docs/meta/usernames-and-bsuid"},{"group":"WhatsApp Errors","pages":[{"title":"Failure by unable to contact in WhatsApp","href":"/en/docs/meta/error-descriptions/failure-by-unable-to-contact"},{"title":"Failure by payment issue in WhatsApp","href":"/en/docs/meta/error-descriptions/failure-by-payment-issue"}]}]},{"group":"Build with Treble","pages":[{"title":"Campaign Objective","href":"/en/docs/build-with-treble/welcome"},{"group":"Features","pages":[{"title":"Variables","href":"/en/docs/build-with-treble/features/variables"},{"title":"Native Variables","href":"/en/docs/build-with-treble/features/native-variables"},{"title":"Alternate Flow","href":"/en/docs/build-with-treble/features/alternate-flow"},{"title":"Second HSM","href":"/en/docs/build-with-treble/features/second-hsm"},{"title":"Goal Block","href":"/en/docs/build-with-treble/features/goal-block"},{"title":"Images, documents and videos in your message blocks","href":"/en/docs/build-with-treble/features/media"}]},{"group":"Blocks","pages":[{"title":"A/B Testing","href":"/en/docs/build-with-treble/blocks/ab-test"},{"group":"Transfer Methods","pages":[{"title":"Transfer Methods","href":"/en/docs/build-with-treble/blocks/transfer-methods/overview"},{"title":"Treble Methods","href":"/en/docs/build-with-treble/blocks/transfer-methods/treble"},{"title":"HubSpot Methods","href":"/en/docs/build-with-treble/blocks/transfer-methods/hubspot"},{"title":"API Assignment","href":"/en/docs/build-with-treble/blocks/transfer-methods/api"}]},{"title":"Transfer to Agent","href":"/en/docs/build-with-treble/blocks/agent"},{"title":"WhatsApp Flows","href":"/en/docs/build-with-treble/blocks/whatsapp-flows"},{"title":"📣 Meta Events — Measure What Matters","sidebarTitle":"Meta Events","href":"/en/docs/build-with-treble/blocks/meta-events"},{"title":"Message Blocks - Buttons, Interactive List, Simple and with Options","href":"/en/docs/build-with-treble/blocks/message-blocks"},{"title":"Conditional Block","href":"/en/docs/build-with-treble/blocks/conditional"},{"title":"Jump to Conversation Block","href":"/en/docs/build-with-treble/blocks/jump-to-conversation"}]},{"group":"Guides","pages":[{"title":"Schedule and Time Configuration","href":"/en/docs/build-with-treble/guides/schedules-and-time-configuration"},{"title":"How to Measure Your Link Performance","href":"/en/docs/build-with-treble/guides/measure-links"}]}]},{"group":"Main Platform","pages":[{"title":"Understanding the Main Platform","sidebarTitle":"Overview","href":"/en/docs/main-platform/welcome"},{"title":"Conversation Flow Editor","href":"/en/docs/main-platform/conversation-editor"},{"title":"Send Outbound Conversation","href":"/en/docs/main-platform/send-convo"},{"title":"Contacts","href":"/en/docs/main-platform/contacts"},{"title":"Treble Link Shortener","href":"/en/docs/main-platform/link-shortener"},{"group":"AI Agents","pages":[{"title":"Introduction","href":"/en/docs/main-platform/ai-center/overview"},{"title":"Create an agent","href":"/en/docs/main-platform/ai-center/create-agent"},{"title":"Configure your agent","href":"/en/docs/main-platform/ai-center/configure-agent"},{"title":"Test your agent","href":"/en/docs/main-platform/ai-center/playground"},{"title":"Knowledge Base","href":"/en/docs/main-platform/ai-center/knowledge-base"},{"group":"Agents","pages":[{"group":"AI Agent","pages":[{"title":"Introduction","href":"/en/docs/main-platform/ai-center/agents/ai-agent/overview"},{"title":"API Call Tool","href":"/en/docs/main-platform/ai-center/agents/ai-agent/api-tool"},{"title":"Google Calendar Integration","href":"/en/docs/main-platform/ai-center/agents/ai-agent/google-calendar"},{"title":"Setting up Shopify Integration","href":"/en/docs/main-platform/ai-center/agents/ai-agent/shopify-install"},{"title":"How to use Shopify in your conversations","href":"/en/docs/main-platform/ai-center/agents/ai-agent/shopify-usage"}]},{"group":"Legacy agents","pages":[{"title":"Take your customers to a goal","href":"/en/docs/main-platform/ai-center/agents/objective-ai"},{"title":"Lead Qualification","href":"/en/docs/main-platform/ai-center/agents/lead-qualification"}]}]}]},{"title":"Conversation Metrics","href":"/en/docs/main-platform/conversation-metrics"},{"title":"WhatsApp Links","href":"/en/docs/main-platform/whatsapp-links"},{"title":"Analytics Center","sidebarTitle":"Analytics Center","href":"/en/docs/main-platform/analytics-center"},{"title":"Settings Section","href":"/en/docs/main-platform/settings"},{"title":"Knowledge Base","href":"/en/docs/main-platform/knowledge-base"}]},{"group":"Agent Platform","pages":[{"title":"Understanding the Agent Platform","sidebarTitle":"General Overview","href":"/en/docs/agent-platform/welcome"},{"title":"Main View","href":"/en/docs/agent-platform/main-platform"},{"title":"Contacts Section","href":"/en/docs/agent-platform/contacts"},{"group":"Admin","pages":[{"title":"Administrator Section","href":"/en/docs/agent-platform/admin/admin-section"},{"title":"Metrics","href":"/en/docs/agent-platform/admin/metrics"},{"title":"Agents","href":"/en/docs/agent-platform/admin/agents"},{"title":"Agent Teams","href":"/en/docs/agent-platform/admin/tags-teams"},{"title":"Quick Response Templates","href":"/en/docs/agent-platform/admin/quick-responses"},{"title":"AI - Intelligent Assistants","href":"/en/docs/agent-platform/admin/treble-boost"},{"title":"Configuration","href":"/en/docs/agent-platform/admin/configuration"},{"title":"Recommendations and FAQs","href":"/en/docs/agent-platform/admin/tips-and-questions"}]},{"title":"Mobile App for Agents","href":"/en/docs/agent-platform/mobile-app"},{"title":"How to Sort and Filter Conversations","href":"/en/docs/agent-platform/filters"},{"title":"Push Notifications Setup","href":"/en/docs/agent-platform/notifications"},{"title":"Automatic Inactivity Detection","href":"/en/docs/agent-platform/inactivity"},{"title":"SLA Automations","href":"/en/docs/agent-platform/sla-automations"}]},{"group":"Integrations","pages":[{"title":"Integrations","href":"/en/docs/integrations/welcome"},{"group":"HubSpot","pages":[{"title":"HubSpot Integration","href":"/en/docs/integrations/hubspot/welcome"},{"title":"Install Treble in HubSpot","href":"/en/docs/integrations/hubspot/install"},{"title":"Install the Chrome Extension","href":"/en/docs/integrations/hubspot/chrome-extension"},{"title":"Getting Started","href":"/en/docs/integrations/hubspot/getting-started"},{"group":"Features","pages":[{"title":"Workflows","href":"/en/docs/integrations/hubspot/features/workflows"},{"title":"Variables","href":"/en/docs/integrations/hubspot/features/variables"},{"title":"HubSpot properties in Treble","href":"/en/docs/integrations/hubspot/features/properties"},{"title":"Deploy Conversation from Contact Profile","href":"/en/docs/integrations/hubspot/features/deploy"},{"title":"Chat History in HubSpot as Notes","href":"/en/docs/integrations/hubspot/features/chat-history"},{"title":"HubSpot Activities","href":"/en/docs/integrations/hubspot/features/activities"}]},{"group":"Blocks","pages":[{"title":"CRM Action Block","href":"/en/docs/integrations/hubspot/blocks/crm-action"},{"title":"CRM Object Block","href":"/en/docs/integrations/hubspot/blocks/crm-variable-assignment"},{"title":"Ticket Block","href":"/en/docs/integrations/hubspot/blocks/ticket"},{"title":"Conditional Block","href":"/en/docs/integrations/hubspot/blocks/conditional"},{"title":"Human Transfer Block","href":"/en/docs/integrations/hubspot/blocks/human-transfer"}]},{"group":"HubSpot + AI","pages":[{"title":"HubSpot AI Integration","href":"/en/docs/integrations/hubspot/hubspot-ai/welcome"},{"title":"Installing the HubSpot AI Integration","href":"/en/docs/integrations/hubspot/hubspot-ai/installation"},{"title":"HubSpot AI Integration Features","href":"/en/docs/integrations/hubspot/hubspot-ai/features"},{"title":"HubSpot AI integration use case examples","href":"/en/docs/integrations/hubspot/hubspot-ai/examples"}]}]},{"group":"Salesforce","pages":[{"title":"Salesforce Integration","href":"/en/docs/integrations/salesforce/welcome"},{"title":"Install Treble in Salesforce","href":"/en/docs/integrations/salesforce/install"},{"title":"Sync Salesforce objects","href":"/en/docs/integrations/salesforce/object-sync"},{"group":"Blocks","pages":[{"title":"CRM Action Block","href":"/en/docs/integrations/salesforce/blocks/crm-action"},{"title":"Salesforce read block","href":"/en/docs/integrations/salesforce/blocks/crm-variable-assignment"},{"title":"Transfer to an advisor from Salesforce","href":"/en/docs/integrations/salesforce/blocks/human-transfer"}]},{"group":"Features","pages":[{"title":"Conversation history in the CRM","description":"How the WhatsApp conversation is saved in Salesforce: when it's written, which record it lands on, and which fields are filled in.","href":"/en/docs/integrations/salesforce/features/activities"},{"title":"Conversations custom object","href":"/en/docs/integrations/salesforce/features/custom-object"},{"title":"Record Types","description":"Why a wrong record type produces errors on fields that seem unrelated, and how to make Treble create records with the correct type.","href":"/en/docs/integrations/salesforce/features/record-types"},{"title":"Person Accounts","href":"/en/docs/integrations/salesforce/features/person-accounts"},{"title":"Salesforce contacts in Sales","href":"/en/docs/integrations/salesforce/features/sales-view"},{"title":"Advanced settings","href":"/en/docs/integrations/salesforce/features/advanced-settings"}]},{"group":"Treble inside Salesforce","pages":[{"title":"WhatsApp inside Salesforce","href":"/en/docs/integrations/salesforce/embed/custom-tab"},{"title":"Launch conversations from a Flow","href":"/en/docs/integrations/salesforce/embed/automation-flow-package"},{"title":"Marketing Cloud","href":"/en/docs/integrations/salesforce/embed/marketing-cloud"}]},{"group":"Salesforce AI","pages":[{"title":"Salesforce AI Integration","href":"/en/docs/integrations/salesforce/salesforce-ai/welcome"},{"title":"Installing the Salesforce AI Integration","href":"/en/docs/integrations/salesforce/salesforce-ai/installation"},{"title":"Salesforce AI Integration Features","href":"/en/docs/integrations/salesforce/salesforce-ai/features"},{"title":"Salesforce AI integration use case examples","href":"/en/docs/integrations/salesforce/salesforce-ai/examples"}]}]},{"group":"Sheets","pages":[{"title":"Treble.ai Integration with Google Sheets","href":"/en/docs/integrations/sheets/welcome"},{"title":"Frequently Asked Questions","href":"/en/docs/integrations/sheets/faq"}]},{"group":"Zoho","pages":[{"title":"Zoho Integration","href":"/en/docs/integrations/zoho/welcome"},{"title":"Installing the Zoho Integration","href":"/en/docs/integrations/zoho/installation"},{"title":"Zoho Integration Features","href":"/en/docs/integrations/zoho/features"},{"title":"Zoho integration use case examples","href":"/en/docs/integrations/zoho/examples"}]},{"group":"Pipedrive","pages":[{"title":"Pipedrive Integration","href":"/en/docs/integrations/pipedrive/welcome"},{"title":"Installing the Pipedrive Integration","href":"/en/docs/integrations/pipedrive/installation"},{"title":"Pipedrive Integration Features","href":"/en/docs/integrations/pipedrive/features"},{"title":"Pipedrive integration use case examples","href":"/en/docs/integrations/pipedrive/examples"}]},{"group":"Active Campaign","pages":[{"title":"Active Campaign Integration","href":"/en/docs/integrations/activecampaign/welcome"},{"title":"Installing the Active Campaign Integration","href":"/en/docs/integrations/activecampaign/installation"},{"title":"Active Campaign Integration Features","href":"/en/docs/integrations/activecampaign/features"},{"title":"Active Campaign integration use case examples","href":"/en/docs/integrations/activecampaign/examples"}]}]},{"group":"Analytics Warehouse","pages":[{"title":"Analytics Warehouse","sidebarTitle":"Introduction","href":"/en/docs/data-warehouse-v2/welcome"},{"group":"Using the Warehouse","pages":[{"title":"Migration Guide","sidebarTitle":"Migration Guide","href":"/en/docs/data-warehouse-v2/migration-guide"},{"title":"Incremental Sync","sidebarTitle":"Incremental Sync","href":"/en/docs/data-warehouse-v2/incremental-sync"},{"title":"Query Optimization","sidebarTitle":"Optimization","href":"/en/docs/data-warehouse-v2/query-optimization"}]},{"group":"Conversation Flows","pages":[{"title":"fact_treble_sessions","sidebarTitle":"Sessions","href":"/en/docs/data-warehouse-v2/fact-treble-sessions"},{"title":"fact_treble_session_messages","sidebarTitle":"Messages","href":"/en/docs/data-warehouse-v2/fact-treble-session-messages"},{"title":"fact_treble_session_nodes","sidebarTitle":"Journeys","href":"/en/docs/data-warehouse-v2/fact-treble-session-nodes"},{"title":"fact_treble_session_variables","sidebarTitle":"Variables","href":"/en/docs/data-warehouse-v2/fact-treble-session-variables"}]},{"group":"Campaigns","pages":[{"title":"fact_campaign_sends","sidebarTitle":"Sends","href":"/en/docs/data-warehouse-v2/fact-campaign-sends"},{"title":"fact_campaign_daily","sidebarTitle":"Daily Summary","href":"/en/docs/data-warehouse-v2/fact-campaign-daily"},{"title":"fact_hsm_responses","sidebarTitle":"Template Responses","href":"/en/docs/data-warehouse-v2/fact-hsm-responses"}]},{"group":"Agent Workspace","pages":[{"title":"fact_agent_conversations","sidebarTitle":"Conversations","href":"/en/docs/data-warehouse-v2/fact-agent-conversations"},{"title":"fact_agent_conversation_messages","sidebarTitle":"Messages","href":"/en/docs/data-warehouse-v2/fact-agent-conversation-messages"},{"title":"fact_agent_conversation_transfers","sidebarTitle":"Transfers","href":"/en/docs/data-warehouse-v2/fact-agent-conversation-transfers"},{"title":"fact_agent_status_changes","sidebarTitle":"Availability","href":"/en/docs/data-warehouse-v2/fact-agent-status-changes"},{"title":"fact_agent_daily","sidebarTitle":"Daily Summary","href":"/en/docs/data-warehouse-v2/fact-agent-daily"}]},{"group":"Conversions \u0026 Attribution","pages":[{"title":"fact_target_events","sidebarTitle":"Target Events","href":"/en/docs/data-warehouse-v2/fact-target-events"},{"title":"fact_ad_sessions","sidebarTitle":"Meta Ads (CTWA)","href":"/en/docs/data-warehouse-v2/fact-ad-sessions"},{"title":"fact_whatsapp_link_events","sidebarTitle":"WhatsApp Links","href":"/en/docs/data-warehouse-v2/fact-whatsapp-link-events"}]},{"title":"Dimensions","sidebarTitle":"Dimensions","href":"/en/docs/data-warehouse-v2/dimensions"}]},{"group":"Data Warehouse (Legacy)","pages":[{"title":"Data Warehouse (Legacy)","sidebarTitle":"Introduction","href":"/en/docs/data-warehouse/welcome"},{"title":"fact_conversations","sidebarTitle":"Conversations","href":"/en/docs/data-warehouse/fact-conversations"},{"title":"fact_agent_messages","sidebarTitle":"Messages","href":"/en/docs/data-warehouse/fact-agent-messages"},{"title":"fact_redirections","sidebarTitle":"Transfers","href":"/en/docs/data-warehouse/fact-redirections"},{"title":"fact_agent_status_changes","sidebarTitle":"Agent Availability","href":"/en/docs/data-warehouse/fact-agent-status-changes"},{"title":"fact_agent_daily","sidebarTitle":"Agent Productivity","href":"/en/docs/data-warehouse/fact-agent-daily"},{"title":"fact_sessions","sidebarTitle":"Conversation Flows","href":"/en/docs/data-warehouse/fact-sessions"},{"title":"fact_deployment_status","sidebarTitle":"Delivery Detail","href":"/en/docs/data-warehouse/fact-deployment-status"},{"title":"fact_deployment_daily","sidebarTitle":"Delivery Metrics","href":"/en/docs/data-warehouse/fact-deployment-daily"},{"title":"fact_hsm_responses","sidebarTitle":"HSM Responses","href":"/en/docs/data-warehouse/fact-hsm-responses"},{"title":"Dimension Tables","sidebarTitle":"Dimensions","href":"/en/docs/data-warehouse/dimensions"},{"title":"Query Optimization","sidebarTitle":"Optimization","href":"/en/docs/data-warehouse/query-optimization"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/en/api-reference/intro/intro"}]}]},{"anchor":"Community","icon":"slack","href":"https://trebleai.slack.com"},{"anchor":"Blog","icon":"newspaper","href":"https://blog.treble.ai"}]},{"language":"pt","pages":[{"title":"pt","href":"/pt/docs/integrations/salesforce/features/custom-object"}]}]},"basePath":"","title":"Conversations custom object - Home","buildId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","deploymentId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","dynamics":["a74be98ba7"],"chunks":["zoom-image-lightbox-DMoL6lHz.js","lightbox-handle-r17bVUz3.js"]}