<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Swagata Ray on Medium]]></title>
        <description><![CDATA[Stories by Swagata Ray on Medium]]></description>
        <link>https://medium.com/@swagata.howrah?source=rss-a3f8cedb32e8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*epuPCZE9n3ESEQ7Zb2aLLg.jpeg</url>
            <title>Stories by Swagata Ray on Medium</title>
            <link>https://medium.com/@swagata.howrah?source=rss-a3f8cedb32e8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 23:36:33 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@swagata.howrah/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Salesforce Health Cloud FHIR Data Model]]></title>
            <link>https://medium.com/@swagata.howrah/salesforce-health-cloud-fhir-data-model-b7f185090564?source=rss-a3f8cedb32e8------2</link>
            <guid isPermaLink="false">https://medium.com/p/b7f185090564</guid>
            <category><![CDATA[salesforce]]></category>
            <category><![CDATA[salesforce-productivity]]></category>
            <category><![CDATA[health-cloud-salesforce]]></category>
            <category><![CDATA[salesforce-healthcloud]]></category>
            <category><![CDATA[salesforce-development]]></category>
            <dc:creator><![CDATA[Swagata Ray]]></dc:creator>
            <pubDate>Fri, 09 Feb 2024 17:54:23 GMT</pubDate>
            <atom:updated>2024-02-09T17:54:23.336Z</atom:updated>
            <content:encoded><![CDATA[<h3>What is Health Cloud FHIR Data model?</h3><p>Salesforce FHIR data model is available in Salesforce Health Cloud. Nevertheless, FHIR is a logical data paradigm that needs to be normalized into a relational model, requiring that its fields and resources be internally mapped to several Salesforce Objects.</p><p>As an illustration, “Encounter” FHIR resource attributes are saved and mapped to “Clinical Encounter” objects, while the patient and its name, language, phone number are kept as distinct objects. Any consumer application in this scenario that needs to send or receive data from Salesforce Health Cloud must first comprehend this data model in order to create integrations that translate these Salesforce objects into FHIR resources.</p><h3>FHIR Patient structure to Salesforce Data Model Mapping</h3><p>Here is the example of the</p><p>FHIR Data Structure of “Patient” and it’s mapping with Salesforce Data Model</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3GeyF3VGYi9VbU_c.png" /></figure><h4>Salesforce Data Model</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*qcEZ18xSYHQfwQIB.png" /></figure><h3>Salesforce Health Cloud FHIR Resources</h3><p>The Administration resources include the base data that can be linked with the other modules, such as clinical content, finance, and billing workflow. The Administration resources are:</p><ul><li>Patient</li><li>Practitioner</li><li>PractitionerRole</li><li>Encounter</li><li>Organization</li><li>Location</li><li>RelatedPerson</li></ul><p>At the point of care, physicians and patients can use the Care Management resources, which center on patient-specific treatment recommendations based on relevant clinical practice guidelines and care pathways. It includes self-maintained plans that are written by patients or caregivers based on the Care Gaps and social determinants and providing a comprehensive grasp of the necessary steps. The Care Management resources are:</p><ul><li>CarePlan</li><li>Goal</li></ul><p>The FHIR content that deals with transactional clinical diagnostics, including as laboratory testing, imaging, and genomics, is summarized and directed by the Clinical Diagnostics resources.</p><ul><li>DiagnosticReport</li><li>DocumentReference</li><li>Observation</li></ul><p>For a patient, the Clinical Summary resources provide essential clinical information like Clinical alert, Clinical Encounter. Healthcare professionals regularly create, record, or access this data while providing clinical care. The Clinical Summary resources are:</p><ul><li>AllergyIntolerance</li><li>Condition</li><li>Procedure</li></ul><p>The resources for clinical workflow.</p><ul><li>ServiceRequest</li><li>MedicationRequest</li></ul><p>The Medication is another area where Healthcare providers use this information to prescribe, dispense, and administer a medication. The Medication resources are:</p><ul><li>Medication</li><li>Immunization</li><li>MedicationStatement</li></ul><h3>Conclusion</h3><p>Salesforce Health Cloud FHIR (Fast Healthcare Interoperability Resources) Data Model serves as a crucial framework within Salesforce Health Cloud for managing and exchanging healthcare data in a standardized and interoperable format. By leveraging FHIR resources and mapping them to Salesforce objects, Health Cloud facilitates the integration of disparate healthcare systems and enables seamless communication between healthcare providers, patients, and other stakeholders. Understanding and adhering to this data model are essential for building effective integrations and leveraging the full potential of Salesforce Health Cloud in enhancing patient care, improving clinical workflows, and driving healthcare innovation.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b7f185090564" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Salesforce Composite API]]></title>
            <link>https://medium.com/@swagata.howrah/salesforce-composite-api-6dddc6c5567c?source=rss-a3f8cedb32e8------2</link>
            <guid isPermaLink="false">https://medium.com/p/6dddc6c5567c</guid>
            <category><![CDATA[salesforce]]></category>
            <category><![CDATA[salesforce-productivity]]></category>
            <category><![CDATA[salesforce-development]]></category>
            <category><![CDATA[integration]]></category>
            <dc:creator><![CDATA[Swagata Ray]]></dc:creator>
            <pubDate>Wed, 22 Nov 2023 19:31:06 GMT</pubDate>
            <atom:updated>2023-11-22T19:31:06.253Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZqAn1JQakgHQ_7CFczdcVg.png" /></figure><p>A Salesforce composite API, in the context of software development and web services, is an API (Application Programming Interface) that aggregates and orchestrates multiple individual APIs and services into a single, unified interface. The goal of a composite API is to simplify and streamline the interaction with multiple underlying APIs by providing a higher-level interface that combines the functionality of various services.</p><h3><strong>Blog on the Composite Graph API</strong></h3><p><a href="https://swagataray.com/2023/11/15/salesforce-composite-tree-api/"><strong>Blog on the Composite Tree API</strong></a></p><h3>Key characteristics of composite API</h3><ol><li><strong>Aggregation:</strong> Salesforce Composite APIs aggregate services from different sources or endpoints. They can pull information from multiple APIs and present it as a single resource or response. So in a single API call, you can find the data from Account as well as from related Contacts.</li><li><strong>Orchestration:</strong> These APIs often involve complex workflows and logic to coordinate requests and responses from the underlying APIs. They might involve conditional branching, data transformation, and other forms of orchestration to achieve a specific task or objective. If you want to find a Account using an external field and then use that Account to create a contact, it’s all possible!</li><li><strong>Simplification:</strong> The primary purpose of Salesforce composite APIs is to simplify the interaction with a set of APIs. Instead of developers having to make multiple requests and handle complex coordination themselves, they can make a single request to the composite API, which takes care of the underlying complexity. If you want to create Account, Person Name, Person Language, Contact Point Phone and Contact Point Consent in a single go, Composite API is your choice.</li><li><strong>Security and Authentication:</strong> Salesforce Composite APIs often handle authentication and authorization for the underlying APIs, ensuring that users and applications have the appropriate permissions to access the combined resources. You no need do separate authentication for all the internal APIs. It is taken care by the composite API itself.</li></ol><p>Salesforce Composite APIs are particularly useful in scenarios where applications need to interact with multiple services or data sources to fulfill a specific task. They are commonly used in micro services architectures, where different micro services offer specific functionalities, and a composite API combines these micro services to provide a higher-level service to clients.</p><p>Overall, composite APIs help developers build more efficient, scalable, and user-friendly applications by simplifying the complexity of working with multiple APIs and services.</p><p><strong><em>Note:</em></strong> <strong><em>All subsequent API transactions under a wrapper Composite API treated as single API consumption . So, this is also a good point to start using composite API.</em></strong></p><h3>Overview of the Salesforce Composite API</h3><p>There are four types of flavor in the Salesforce Composite API</p><ol><li>Tree</li><li>Batch</li><li>Sobjects</li><li>Graph</li></ol><p>URI of the Composite API</p><p><a href="https://mydomainname.my.salesforce.com/services/data/v59.0/composite/">https://MyDomainName.my.salesforce.com/services/data/v59.0/composite/</a></p><p>Sub domains are</p><p><strong>Graph</strong></p><p><a href="https://mydomainname.my.salesforce.com/services/data/v59.0/composite/graph">https://MyDomainName.my.salesforce.com/services/data/v59.0/composite/graph</a></p><p><strong>Batch</strong></p><p><a href="https://mydomainname.my.salesforce.com/services/data/v59.0/composite/batch">https://MyDomainName.my.salesforce.com/services/data/v59.0/composite/batch</a></p><p><strong>Sobjects</strong></p><p><a href="https://mydomainname.my.salesforce.com/services/data/v59.0/composite/sobjects">https://MyDomainName.my.salesforce.com/services/data/v59.0/composite/sobjects</a></p><p><strong>Tree</strong></p><p><a href="https://mydomainname.my.salesforce.com/services/data/v59.0/composite/tree">https://MyDomainName.my.salesforce.com/services/data/v59.0/composite/tree</a></p><h3>Resources</h3><p><a href="https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_composite_composite_get.htm">Salesforce Composite API Developer’s guide</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6dddc6c5567c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Salesforce Graph API]]></title>
            <link>https://medium.com/@swagata.howrah/salesforce-graph-api-dfa2f954e796?source=rss-a3f8cedb32e8------2</link>
            <guid isPermaLink="false">https://medium.com/p/dfa2f954e796</guid>
            <dc:creator><![CDATA[Swagata Ray]]></dc:creator>
            <pubDate>Wed, 15 Nov 2023 18:18:48 GMT</pubDate>
            <atom:updated>2023-11-15T18:18:48.110Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EZR7Yoq_MYBmEqR6ym-qOw.png" /></figure><p>Salesforce Graph API aka Salesforce Composite Graph API is a part of the bigger API umbrella called Salesforce composite Graph API. This Graph API is very powerful API which can be utilized for API aggregation, orchestration etc. I will discuss these further but if you want to learn about Composite API, then click <a href="https://swagataray.com/2023/10/27/salesforce-composite-api-a-inside-out-approach-to-solve-api-architecture-with-graph-tree-sobjects-and-batch-api/"><strong>here</strong></a></p><p>Salesforce URL to initiate Graph API</p><p>/services/data/vXX.X/composite/graph</p><p>Let me directly jump into the use cases</p><h3><strong>Business Scenario 1</strong></h3><p>You have an ecommerce site which is connected to Salesforce (Your CRM). If customer logs in to your Ecommerce site, then you need to show the customer’s details (Person Account) and all the related Phone numbers of that Account by using an external ID (<em>External_Member__c</em>). Below is the ERD for the understanding.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/723/0*Mf0dodmXULI-FONy" /></figure><h4>URL and Method</h4><p>services/data/v58.0/composite (POST)</p><h4>Request Payload for Salesforce Graph API</h4><pre>{<br>            &quot;compositeRequest&quot;: [<br>                {<br>                    &quot;url&quot;: &quot;/services/data/v57.0/query?q=select+id%2CFirstName%2C+LastName+from+Account+where+External_Member__c+%3D%2723333%27&quot;,<br>                    &quot;method&quot;: &quot;GET&quot;,<br>                    &quot;referenceId&quot;: &quot;accountId&quot;<br>                }<br>                ,<br>                {<br>                   &quot;url&quot;: &quot;/services/data/v57.0/query?q=select+id%2Cname%2CIsPrimary+from+ContactPointPhone+where+ParentId+%3D+%27@{accountId.records[0].Id}%27&quot;,<br>                    &quot;method&quot;: &quot;GET&quot;,<br>                    &quot;referenceId&quot;: &quot;contactPointPhoneRef&quot;<br>                }<br>                    ]<br>        }</pre><h4>Salesforce Graph API Response</h4><pre>{<br>    &quot;compositeResponse&quot;: [<br>        {<br>            &quot;body&quot;: {<br>                &quot;totalSize&quot;: 1,<br>                &quot;done&quot;: true,<br>                &quot;records&quot;: [<br>                    {<br>                        &quot;attributes&quot;: {<br>                            &quot;type&quot;: &quot;Account&quot;,<br>                            &quot;url&quot;: &quot;/services/data/v57.0/sobjects/Account/0017798812ImUJMAA3&quot;<br>                        },<br>                        &quot;Id&quot;: &quot;0017700000ImUJMAA3&quot;,<br>                        &quot;FirstName&quot;: &quot;Swagata&quot;,<br>                        &quot;LastName&quot;: &quot;Ray&quot;<br>                    }<br>                ]<br>            },<br>            &quot;httpHeaders&quot;: {},<br>            &quot;httpStatusCode&quot;: 200,<br>            &quot;referenceId&quot;: &quot;accountId&quot;<br>        },<br>        {<br>            &quot;body&quot;: {<br>                &quot;totalSize&quot;: 2,<br>                &quot;done&quot;: true,<br>                &quot;records&quot;: [<br>                    {<br>                        &quot;attributes&quot;: {<br>                            &quot;type&quot;: &quot;ContactPointPhone&quot;,<br>                            &quot;url&quot;: &quot;/services/data/v57.0/sobjects/ContactPointPhone/0Ow7704441GokrCAC&quot;<br>                        },<br>                        &quot;Id&quot;: &quot;0Ow77009999GokrCAC&quot;,<br>                        &quot;Name&quot;: &quot;1234566788&quot;,<br>                        &quot;IsPrimary&quot;: false<br>                    },<br>                    {<br>                        &quot;attributes&quot;: {<br>                            &quot;type&quot;: &quot;ContactPointPhone&quot;,<br>                            &quot;url&quot;: &quot;/services/data/v57.0/sobjects/ContactPointPhone/0Ow77089870GoksCAC&quot;<br>                        },<br>                        &quot;Id&quot;: &quot;0Ow77158800GoksCAC&quot;,<br>                        &quot;Name&quot;: &quot;1234566789&quot;,<br>                        &quot;IsPrimary&quot;: true<br>                    }<br>                ]<br>            },<br>            &quot;httpHeaders&quot;: {},<br>            &quot;httpStatusCode&quot;: 200,<br>            &quot;referenceId&quot;: &quot;contactPointPhoneRef&quot;<br>        }<br>    ]<br>}</pre><h4>Explanation</h4><p>This Composite API call encapsulates two internal GET call by treating them as one. Moreover, I am passing the result from the first GET request to the second by using <strong>@{accountId.records[0].Id}</strong>. Here, <em>accountId </em>= referenceId and<em>records </em>= resultSet from the previous GET call.</p><p>The beauty of this approach is that instead of using two REST callouts and APEX and other logic to implement, this is only ONE Graph API callout and it handles everything. This is an excellent way to do the aggregation at the API level</p><h3><strong>Business Scenario</strong> <strong>2</strong></h3><p>You have application which sends the Member information (Person Account , Contact Point Email ) and it’s Member’s consent to use the Email (Contact Point Consent) in a batch of 60 Member records at a time. So, you need proper orchestration to add those Data into correct objects with proper relationship intact. Composite Graph API is your best friend. Let’s see, how we can manage this using Graph API. To understand the ERD between objects, look into previous ERD which is mentioned in the <strong><em>Business Scenario 1</em></strong>.</p><h4>URL and Method</h4><p>services/data/v58.0/composite/graph (POST)</p><h4>Request Payload</h4><pre>{   &quot;allOrNone&quot;: true,<br>    &quot;graphs&quot; : [<br>        {<br>            &quot;graphId&quot; : &quot;1&quot;,<br>            &quot;compositeRequest&quot; : [<br>                {<br>                    &quot;url&quot; : &quot;/services/data/v58.0/sobjects/Account/&quot;,<br>                    &quot;body&quot; : {<br>                         &quot;FirstName&quot; : &quot;Swagata&quot;,<br>                         &quot;LastName&quot; : &quot;Ray&quot;,<br>                         &quot;RecordTypeId&quot; :&quot;0128V000221dwad&quot;,                        <br>                         &quot;PersonBirthdate&quot; : &quot;1977-11-22&quot;,<br>                         &quot;PersonGender&quot; : &quot;Male&quot;,<br>                         &quot;PersonPronouns&quot;: &quot;He/Him&quot;,<br>                         &quot;External_Member__c&quot; :&quot;ABC9912&quot;<br>                    },<br>                    &quot;method&quot; : &quot;POST&quot;,<br>                    &quot;referenceId&quot; : &quot;reference_id_account_1&quot;<br>                },<br>               <br>                {<br>                    &quot;url&quot; : &quot;/services/data/v58.0/sobjects/ContactPointEmail/&quot;,<br>                    &quot;body&quot; : {<br>                        &quot;EmailAddress&quot; : &quot;test@test.com&quot;,                        <br>                        &quot;UsageType&quot; :&quot;Home&quot;,<br>                        &quot;IsPrimary&quot; : &quot;true&quot;,                        <br>                        &quot;ParentId&quot; : &quot;@{reference_id_account_1.id}&quot;<br>                    },<br>                    &quot;method&quot; : &quot;POST&quot;,<br>                    &quot;referenceId&quot; : &quot;reference_id_CPE_1&quot;<br>                },<br>                <br>                {<br>                    &quot;url&quot; : &quot;/services/data/v58.0/sobjects/ContactPointConsent/&quot;,<br>                    &quot;body&quot; : {<br>                        &quot;name&quot; : &quot;Swagata - Eligibility Consent - Phone&quot;,<br>                        &quot;PrivacyConsentStatus&quot; : &quot;OptIn&quot; ,<br>                        &quot;ContactPointId&quot; : &quot;@{reference_id_CPE_1.id}&quot;<br>                    },<br>                    &quot;method&quot; : &quot;POST&quot;,<br>                    &quot;referenceId&quot; : &quot;reference_CPC_1&quot;<br>                }<br>            ]<br>        }<br>        ,<br>        {<br>            &quot;graphId&quot; : &quot;2&quot;,<br>            &quot;compositeRequest&quot; : [<br>                {<br>                    &quot;url&quot; : &quot;/services/data/v58.0/sobjects/Account/&quot;,<br>                    &quot;body&quot; : {<br>                         &quot;FirstName&quot; : &quot;Sibu&quot;,<br>                         &quot;LastName&quot; : &quot;Banf&quot;,<br>                         &quot;RecordTypeId&quot; :&quot;0128V000221dwad&quot;,                        <br>                         &quot;PersonBirthdate&quot; : &quot;1945-11-22&quot;,<br>                         &quot;PersonGender&quot; : &quot;Male&quot;,<br>                         &quot;PersonPronouns&quot;: &quot;He/Him&quot;,<br>                         &quot;External_Member__c&quot; :&quot;ABC9988&quot;<br>                    },<br>                    &quot;method&quot; : &quot;POST&quot;,<br>                    &quot;referenceId&quot; : &quot;reference_id_account_2&quot;<br>                },<br>               <br>                {<br>                    &quot;url&quot; : &quot;/services/data/v58.0/sobjects/ContactPointEmail/&quot;,<br>                    &quot;body&quot; : {<br>                        &quot;EmailAddress&quot; : &quot;testsample@test.com&quot;,                        <br>                        &quot;UsageType&quot; :&quot;Home&quot;,<br>                        &quot;IsPrimary&quot; : &quot;true&quot;,                        <br>                        &quot;ParentId&quot; : &quot;@{reference_id_account_2.id}&quot;<br>                    },<br>                    &quot;method&quot; : &quot;POST&quot;,<br>                    &quot;referenceId&quot; : &quot;reference_id_CPE_2&quot;<br>                },<br>                <br>                {<br>                    &quot;url&quot; : &quot;/services/data/v58.0/sobjects/ContactPointConsent/&quot;,<br>                    &quot;body&quot; : {<br>                        &quot;name&quot; : &quot;Sibu - Eligibility Consent - Phone&quot;,<br>                        &quot;PrivacyConsentStatus&quot; : &quot;OptIn&quot; ,<br>                        &quot;ContactPointId&quot; : &quot;@{reference_id_CPE_2.id}&quot;<br>                    },<br>                    &quot;method&quot; : &quot;POST&quot;,<br>                    &quot;referenceId&quot; : &quot;reference_CPC_2&quot;<br>                }<br>            <br>			]<br>		}<br>    ]<br>}</pre><h4>Response</h4><pre>{<br>    &quot;graphs&quot;: [<br>        {<br>            &quot;graphId&quot;: &quot;1&quot;, <br>            &quot;graphResponse&quot;: {<br>                &quot;compositeResponse&quot;: [<br>                    {<br>                        &quot;body&quot;: {<br>                            &quot;id&quot;: &quot;0017700000KbOQkAAN&quot;,<br>                            &quot;success&quot;: true,<br>                            &quot;errors&quot;: []<br>                        },<br>                        &quot;httpHeaders&quot;: {<br>                            &quot;Location&quot;: &quot;/services/data/v58.0/sobjects/Account/0017700000KbOQkAAN&quot;<br>                        },<br>                        &quot;httpStatusCode&quot;: 201,<br>                        &quot;referenceId&quot;: &quot;reference_id_account_1&quot;<br>                    },<br>                    {<br>                        &quot;body&quot;: {<br>                            &quot;id&quot;: &quot;9Vl77000000GywGCAS&quot;,<br>                            &quot;success&quot;: true,<br>                            &quot;errors&quot;: []<br>                        },<br>                        &quot;httpHeaders&quot;: {<br>                            &quot;Location&quot;: &quot;/services/data/v58.0/sobjects/ContactPointEmail/9Vl77000000GywGCAS&quot;<br>                        },<br>                        &quot;httpStatusCode&quot;: 201,<br>                        &quot;referenceId&quot;: &quot;reference_id_CPE_1&quot;<br>                    },<br>                    {<br>                        &quot;body&quot;: {<br>                            &quot;id&quot;: &quot;0ZX77000000CknyGAC&quot;,<br>                            &quot;success&quot;: true,<br>                            &quot;errors&quot;: []<br>                        },<br>                        &quot;httpHeaders&quot;: {<br>                            &quot;Location&quot;: &quot;/services/data/v58.0/sobjects/ContactPointConsent/0ZX77000000CknyGAC&quot;<br>                        },<br>                        &quot;httpStatusCode&quot;: 201,<br>                        &quot;referenceId&quot;: &quot;reference_CPC_1&quot;<br>                    }<br>                ]<br>            },<br>            &quot;isSuccessful&quot;: true<br>        },<br>        {<br>            &quot;graphId&quot;: &quot;2&quot;, <br>            &quot;graphResponse&quot;: {<br>                &quot;compositeResponse&quot;: [<br>                    {<br>                        &quot;body&quot;: {<br>                            &quot;id&quot;: &quot;0017700000KbOQlAAN&quot;,<br>                            &quot;success&quot;: true,<br>                            &quot;errors&quot;: []<br>                        },<br>                        &quot;httpHeaders&quot;: {<br>                            &quot;Location&quot;: &quot;/services/data/v58.0/sobjects/Account/0017700000KbOQlAAN&quot;<br>                        },<br>                        &quot;httpStatusCode&quot;: 201,<br>                        &quot;referenceId&quot;: &quot;reference_id_account_2&quot;<br>                    },<br>                    {<br>                        &quot;body&quot;: {<br>                            &quot;id&quot;: &quot;9Vl77000000GywHCAS&quot;,<br>                            &quot;success&quot;: true,<br>                            &quot;errors&quot;: []<br>                        },<br>                        &quot;httpHeaders&quot;: {<br>                            &quot;Location&quot;: &quot;/services/data/v58.0/sobjects/ContactPointEmail/9Vl77000000GywHCAS&quot;<br>                        },<br>                        &quot;httpStatusCode&quot;: 201,<br>                        &quot;referenceId&quot;: &quot;reference_id_CPE_2&quot;<br>                    },<br>                    {<br>                        &quot;body&quot;: {<br>                            &quot;id&quot;: &quot;0ZX77000000CknzGAC&quot;,<br>                            &quot;success&quot;: true,<br>                            &quot;errors&quot;: []<br>                        },<br>                        &quot;httpHeaders&quot;: {<br>                            &quot;Location&quot;: &quot;/services/data/v58.0/sobjects/ContactPointConsent/0ZX77000000CknzGAC&quot;<br>                        },<br>                        &quot;httpStatusCode&quot;: 201,<br>                        &quot;referenceId&quot;: &quot;reference_CPC_2&quot;<br>                    }<br>                ]<br>            },<br>            &quot;isSuccessful&quot;: true<br>        }<br>    ]<br>}</pre><h4>Explanation</h4><p>The beauty of the Salesforce Graph API is in it’s simple implementation structure. In this scenario, I basically inserted records to three different objects with correct relationship intact and that too using bulk mode which would take at least three separate REST API calls and some some logic. Furthermore, “<strong><em>allOrNone</em></strong>” parameter can be used to make sure either all the transactions is successful or not. By default “<strong><em>allOrNone</em></strong>” is true. A points to remember that “<strong><em>allOrNone</em></strong>” works in the graph level. So, it is quite possible that one Graph can be successful and other can be errored out. Another thing to remember is that Sub requests in one graph can’t reference sub requests from another graph.</p><h4>Node and Depth</h4><p>In the Salesforce Graph API world each sub requests is represented by a <strong><em>node</em></strong>. Addition to that, each reference pointing to another node is represented as a <strong><em>depth</em></strong>. So in the above graph API request payload has two graphs (graphId) and each graph is comprise with 3 nodes with 3 depths. However, one Payload can have maximum 500 nodes and can reaches to 15 depth.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/723/0*nWZCM5YpUPDTtEyw" /></figure><h3><strong>Business Scenario</strong> <strong>3</strong></h3><p>You need to create a task for a Person Account (Member) so that your sales representative can reach out to your member for cross sell/ Up sell. So you will find a customer using external ID (External_Member__c) and then create a task and add that task to the member.</p><h4>Salesforce Graph API Request Payload</h4><pre>{<br>    &quot;graphs&quot;: [<br>        {<br>            &quot;graphId&quot;: &quot;1&quot;,<br>            &quot;compositeRequest&quot;: [<br>              <br>                {<br>                    &quot;url&quot;: &quot;/services/data/v58.0/sobjects/Account/External_Member__c/889912&quot;,<br>                    &quot;method&quot;: &quot;GET&quot;,<br>                    &quot;referenceId&quot;: &quot;AccountResponse&quot;<br>                },<br>                {<br>                    &quot;url&quot;: &quot;/services/data/v57.0/sobjects/Task&quot;,<br>                    &quot;method&quot;: &quot;POST&quot;,<br>                    &quot;body&quot;: {<br>                        &quot;Subject&quot;: &quot;Call&quot;,<br>                        &quot;whatId&quot;: &quot;@{AccountResponse.Id}&quot;, <br>                        &quot;Status&quot;: &quot;Open&quot;                       <br>                    },<br>                    &quot;referenceId&quot;: &quot;TaskRef&quot;<br>                }<br>            ]<br>        }<br>    ]<br>}</pre><h4>Response</h4><pre>{<br>    &quot;graphs&quot;: [<br>        {<br>            &quot;graphId&quot;: &quot;1&quot;,<br>            &quot;graphResponse&quot;: {<br>                &quot;compositeResponse&quot;: [<br>                    {<br>                        &quot;body&quot;: {<br>                            &quot;attributes&quot;: {<br>                                &quot;type&quot;: &quot;Account&quot;,<br>                                &quot;url&quot;: &quot;/services/data/v58.0/sobjects/Account/0017700000J46HlAAJ&quot;<br>                            },<br>                            &quot;Id&quot;: &quot;001770088546HlAAJ&quot;,<br>                            &quot;IsDeleted&quot;: false,<br>                            &quot;MasterRecordId&quot;: null,<br>                            &quot;Name&quot;: &quot;Swagata Ray&quot;,<br>                            &quot;LastName&quot;: &quot;Ray&quot;,<br>                            &quot;FirstName&quot;: &quot;Swagata&quot;,<br>                            &quot;Salutation&quot;: null,<br>                            &quot;MiddleName&quot;: null,<br>                            &quot;Suffix&quot;: null,<br>                            &quot;Type&quot;: null,<br>                            &quot;RecordTypeId&quot;: &quot;0128V0000010DtWQAU&quot;,<br>                            <br>                        },<br>                        &quot;httpHeaders&quot;: {<br>                            &quot;ETag&quot;: &quot;\&quot;gTI7lF2oYMlDxM+gTW1a62nzqxfxxihRqAygUNh9DPs=\&quot;&quot;,<br>                            &quot;Last-Modified&quot;: &quot;Tue, 12 Sep 2023 14:30:26 GMT&quot;<br>                        },<br>                        &quot;httpStatusCode&quot;: 200,<br>                        &quot;referenceId&quot;: &quot;AccountResponse&quot;<br>                    },<br>                    {<br>                        &quot;body&quot;: {<br>                            &quot;id&quot;: &quot;00T7700000h1mQPEAY&quot;,<br>                            &quot;success&quot;: true,<br>                            &quot;errors&quot;: []<br>                        },<br>                        &quot;httpHeaders&quot;: {<br>                            &quot;Location&quot;: &quot;/services/data/v57.0/sobjects/Task/00T7788890h1mQPEAY&quot;<br>                        },<br>                        &quot;httpStatusCode&quot;: 201,<br>                        &quot;referenceId&quot;: &quot;TaskRef&quot;<br>                    }<br>                ]<br>            },<br>            &quot;isSuccessful&quot;: true<br>        }<br>    ]<br>}</pre><h4>Limitation of the Graph API</h4><ul><li>Maximum number of graphs in one payload is 75</li><li>You can go up to 15 depth. This means that it will cover almost all complex structure and need.</li><li>Maximum nodes can be 500. One subsequent request is one node.</li></ul><h4>Reference</h4><p><a href="https://swagataray.com/2023/11/15/salesforce-composite-tree-api/"><strong>Blog on the Composite Tree API</strong></a></p><p><a href="https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_composite_graph.htm">Graph API developer guide</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dfa2f954e796" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Salesforce Unauthenticated Survey]]></title>
            <link>https://medium.com/@swagata.howrah/salesforce-unauthenticated-survey-0e7ae26d52ac?source=rss-a3f8cedb32e8------2</link>
            <guid isPermaLink="false">https://medium.com/p/0e7ae26d52ac</guid>
            <category><![CDATA[salesforce]]></category>
            <category><![CDATA[salesforce-productivity]]></category>
            <category><![CDATA[surveys]]></category>
            <category><![CDATA[salesforce-development]]></category>
            <dc:creator><![CDATA[Swagata Ray]]></dc:creator>
            <pubDate>Fri, 13 Oct 2023 02:26:34 GMT</pubDate>
            <atom:updated>2023-10-13T02:26:34.877Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BVT8srN4JKAJjMX89zJmfg.png" /></figure><h3>Salesforce Unauthenticated Survey</h3><p><strong>Unauthenticated Survey</strong> — An “unauthenticated survey” refers to a survey that can be accessed and completed by individuals who are not required to log in or authenticate their identity. These surveys are often used for gathering feedback from a wide range of respondents, including anonymous users or customers. These customers do not have access to the Salesforce community or another way of saying is that they are not community member. Some people wants to participate to the survey anonymously and this one the best scenarios for them.</p><p><a href="https://swagataray.com/2023/05/12/salesforce-survey-what-is-it-how-to-configure/"><strong>To configure the Salesforce Survey, us</strong></a><a href="https://swagataray.com/2023/05/12/salesforce-survey-what-is-it-how-to-configure/"><strong>e this link</strong></a></p><p>In this blog I am going to discuss about the Salesforce Unauthenticated Survey APIs which you can use for following reason</p><ol><li>Generate a survey invitation for a contact or lead(Not a community User aka Unauthenticated user)</li><li>Get the Survey settings which can be parsed and displayed in the non Salesforce application.</li><li>Submit the survey response</li></ol><h3>Business scenario</h3><p>You have a customer facing application such as online store where customer can buy items anonymously. That online store relies on the Salesforce, a backend CRM solution for any kind of survey. Currently you want to lunch a new line of products and you need feedback as much as possible on this upcoming product line. So you created a survey in Salesforce and wants to display that on your online store. For more clarity, refer to the below diagram</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/723/0*lEwaNJLdvnwiyl5Q" /></figure><h3>Step by Step Process to use Salesforce Unauthenticated Survey</h3><h4>STEP 1</h4><p>Send the token request to a specific endpoint and be careful about his endpoint as we do not use for our common OAuth authorization.</p><p><strong>The URL is</strong></p><p>&lt;Your domain&gt;.sandbox.my.<strong>salesforce-scrt.com</strong>​/surveys/v1/accessToken</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/723/0*5bTfZ9s2JjQX_pKl" /></figure><h4>STEP 2</h4><p>Getting the survey JSON. This JSON needs to be parsed at the front end and show the intended survey with questions and other detailed stuff. The response will look like below</p><p>Always check the end point correctly. As I mentioned earlier, this end point is not the usual one.</p><p><strong>End Point</strong> —&gt; &lt;Your Domain&gt;.sandbox.my.<strong>salesforce-scrt.com</strong>​/surveys/v1/survey-response</p><p>In the payload, you need to pass recipient ID and survey developer name. Remember Recipient Id can only be Lead or Contact. Also you need to pass the authorization token as a bearer token.</p><p><strong>Request Body</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/723/0*EPUL4-RJ8GtiWPiU" /></figure><p>Below response from Salesforce survey endpoint as a JSON format which needs to be parsed and display at the front end.</p><pre>“errors”:[], // Errors observed in the API call  <br>“flowInterviewState”:”&lt;Unique String. This value will be passed to the next call&gt;“,<br>&quot;invitationId&quot;:&quot;&lt;Unique id and needs to be passed&gt;&quot;,<br>   &quot;status&quot;:&quot;&lt;Success/Failed. Status of this API call&gt;&quot;,<br>   &quot;surveyDetail&quot;:{<br>      &quot;label&quot;:&quot;&lt;Label of survey&gt;&quot;, <br>      &quot;name&quot;:&quot;&lt;Developer Name of Survey&gt;&quot;,<br>      &quot;surveyPage&quot;:{<br>         &quot;label&quot;:&quot;&lt;Internal label of page&gt;&quot;, <br>         &quot;name&quot;:&quot;&lt;Internal name of the page&gt;&quot;,<br>         &quot;surveyQuestions&quot;:[ // List of questions<br>            {<br>               &quot;description&quot;: &quot;&lt;Description of the question&gt;&quot;,<br>               &quot;isResponseRequired&quot;: &lt;true/false based on if response is required&gt;,<br>               &quot;label&quot;:&quot;&lt;Survey question&gt;&quot;,<br>               &quot;name&quot;:&quot;&lt;Unique Question name which needs to be passed in the next call&gt;&quot;,<br>               &quot;questionType&quot;:&quot;&lt;Type of the question&gt;&quot;,<br>               &quot;responseDataType&quot;:&quot;&lt;Object type of response&gt;&quot;,<br>               &quot;validationFormula&quot;: &lt;Formula if any custom validation is added&gt;<br>            }</pre><h4>STEP 3</h4><p>Send the Unauthenticated survey response back to Salesforce using following payload. Interestingly the end point for step 2 and step 3 are same.</p><figure><img alt="Unauthenticated Survey Step 3" src="https://cdn-images-1.medium.com/max/723/0*x5dq9uZjUjpmUobm" /></figure><p>There are a couple of things needs to be taken care when it comes to Salesforce unauthenticated Survey</p><ol><li>Create a sharing rule for the guest user so that they can access Contact and Lead. Because this is unauthenticated survey, unless you are providing the access explicitly, guest user can not able to access those and thus survey failed.</li><li>Account can not be attached with the survey invitation.</li><li>To getting the token and the use the unauthenticated survey invitation, use full domain name + ‘-<a href="http://scrt.com/">scrt.com</a>’<br> <strong>Example</strong><br> Full domain — <a href="https://xyzmydomain.sandbox.my.salesforce.com/">https://xyzmydomain.sandbox.my.salesforce.com</a><br> Scrt endpoint — ‘-<a href="http://scrt.com/">scrt.com</a>’</li><li>Getting the org id using this SOQL — SELECT Id, Name FROM Network</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0e7ae26d52ac" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Einstein GPT for Service and Sales Cloud]]></title>
            <link>https://medium.com/@swagata.howrah/einstein-gpt-for-service-and-sales-cloud-71e9e3979e5f?source=rss-a3f8cedb32e8------2</link>
            <guid isPermaLink="false">https://medium.com/p/71e9e3979e5f</guid>
            <category><![CDATA[salesforce-tools]]></category>
            <category><![CDATA[salesforce-lightning]]></category>
            <category><![CDATA[salesforce]]></category>
            <category><![CDATA[salesforce-development]]></category>
            <category><![CDATA[salesforce-productivity]]></category>
            <dc:creator><![CDATA[Swagata Ray]]></dc:creator>
            <pubDate>Fri, 16 Jun 2023 15:33:23 GMT</pubDate>
            <atom:updated>2023-06-16T15:33:23.724Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*tjgIwgHv5shnlsxGqcnFWw.jpeg" /></figure><h3>Introduction</h3><p>Salesforce Einstein GPT is introducing a lot of cool features in Service Cloud and Sales Cloud. Some of them are already in GA and some of them will be coming in successive months. Generative responses tailored for customer response. A case/Call wrap-up summery with the ability to create the knowledge article, Auto reply email etc.. Dive into the features of Einstein GPT!</p><h4>WHAT IS GPT</h4><p>GPT (Generative Pre-trained Transformer) is a groundbreaking technology in the field of natural language processing and artificial intelligence. Developed by <a href="https://openai.com/">OpenAI</a>, GPT is a powerful language model that has revolutionized various applications by understanding and generating human-like text. With its ability to learn from vast amounts of data, GPT captures the intricacies of grammar, context, and semantics. It can be fine-tuned for a wide range of tasks, making it highly versatile and impactful across industries. GPT has transformed the way we interact with machines and has opened up new possibilities for language-based technologies.</p><h3>Einstein GPT features for Service Cloud</h3><h4>GENERATIVE RESPONSES — PILOT</h4><p>Help the agent during a text-based interaction by offering suggestions for immediate responses. or reply through a template which can understand the human prompt. Example of the prompt</p><blockquote>I want to reply for customer named Swagata Ray who wants a replacement parts for his TV model number SON6589.</blockquote><p>To answer this ask, Einstein GPT will use CRM data specific to <em>Swagata Ray</em> and the policies like return policies and write the specific reply targeted specifically for this conversation. The Agents’ output will undoubtedly increase as a result of this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/990/0*LSNiz77SGoJdrViV" /></figure><h4>SUMMARIZATION &amp; KNOWLEDGE CREATION — PILOT</h4><p>Assist the agent in wrapping the case quickly by generating a quick summary of the conversation and an opportunity to generate a knowledge article. This Einstein GPT feature will reduce the burden of the article creation. Like Generative response, There is an option for prompt template by which agents can create Work summery very quickly. Example of the Work Summarization prompt.</p><blockquote>Help me to create a summery of the conversion for case no 123456 and I want to include customer’s purchase history and problem statement of the customer.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ZwnZ4xaUXqu64ck4" /></figure><p>Furthermore, agent can ask Einstein GPT to create a Knowledge article based on the Case Summery which will save time and also share the knowledge with his/her fellow peers easily.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*yfWmCDh52sutCLYK" /></figure><p><strong>Search Answers</strong></p><p>Will Coming Soon!</p><h3>Einstein GPT features for Sales Cloud</h3><p><strong>Generative Responses — Pilot</strong></p><p>Automate lead qualification &amp; scheduling</p><p><strong>Writing Emails automatically </strong>— <em>Coming Soon!</em></p><p>Auto generated email which is personalized by the need and tone.</p><p><strong>Call Summaries and Action Item</strong> — <em>Coming Soon!</em></p><p>Same as the Service cloud after the call, a summery/recap and actionable item will be automatically created.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*P7WptKjQPo8uxR5_" /></figure><p><strong>Sales Assistant</strong> — <em>Coming Soon!</em></p><p>Guide sellers at every step of the sales cycle. Einstein Assistant will provide recommendation in every steps of the sale cycle.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*14zTjev3mweim8wb" /></figure><h3>Conclusion</h3><p>Einstein GPT’s impact on the technology landscape is undeniable. It has paved the way for advancements in natural language understanding and generation, unlocking new possibilities for human-machine interactions. As research and development continue to refine and enhance Einstein GPT’s capabilities, it is likely to remain a key pillar of language-based technology in the foreseeable future and more exciting features will be unfold in many areas including Service Cloud</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=71e9e3979e5f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Health Cloud Business API in Salesforce]]></title>
            <link>https://medium.com/@swagata.howrah/health-cloud-business-api-in-salesforce-6abaf1f6234f?source=rss-a3f8cedb32e8------2</link>
            <guid isPermaLink="false">https://medium.com/p/6abaf1f6234f</guid>
            <category><![CDATA[salesforce-productivity]]></category>
            <category><![CDATA[salesforce-development]]></category>
            <category><![CDATA[salesforce]]></category>
            <category><![CDATA[salesforce-lightning]]></category>
            <category><![CDATA[salesforce-tools]]></category>
            <dc:creator><![CDATA[Swagata Ray]]></dc:creator>
            <pubDate>Thu, 08 Jun 2023 03:12:13 GMT</pubDate>
            <atom:updated>2023-06-08T03:12:13.634Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/744/1*n_a773phKRGWejrP_GdHlg.png" /></figure><h3>Introduction:</h3><p>Salesforce Health Cloud Business API is a powerful tool that enables healthcare organizations to leverage the capabilities of Salesforce’s robust platform to streamline their operations. This API offers a range of benefits for healthcare providers, payers, and life sciences companies. In this blog post, I will explore the key advantages, potential use cases, and provide a sample code snippet to demonstrate its functionality.</p><h3>Advantages and Disadvantages of Health Cloud Business API:</h3><p><strong>Pros:</strong></p><ol><li>Enhanced Patient Engagement: The Business API empowers healthcare providers to deliver personalized and proactive care by providing a holistic view of patient data, enabling better patient engagement and satisfaction.</li><li>Streamlined Workflows: It simplifies healthcare operations by automating processes, reducing administrative burdens, and ensuring seamless coordination between healthcare teams.</li><li>Scalability and Flexibility: The Health Cloud Business API is highly scalable, allowing healthcare organizations to accommodate growth and adapt to changing requirements. Its flexibility enables customization to align with specific business needs.</li><li>Integration Capabilities: It seamlessly integrates with other Salesforce products and third-party systems, enabling interoperability and centralizing data for efficient decision-making. Moreover, there are connector available for these APIs in MuleSoft.</li><li>Compliance and Security: Salesforce Health Cloud adheres to industry standards and regulations, ensuring data privacy and security, including compliance with HIPAA and GDPR.</li></ol><p><strong>Cons:</strong></p><ol><li>Learning Curve: Adopting the Health Cloud Business API may require healthcare organizations to invest time and resources in training their staff to fully utilize the platform’s capabilities.</li><li>Customization Complexity: Advanced customizations may necessitate expertise in Salesforce development and administration to ensure a smooth implementation.</li></ol><h3>Sample Code — Patient API</h3><p>Below is a sample code snippet demonstrating the use of the Patient Business API to create a new patient record and How to run it. Patient Business API is APEX REST API which means you have to expose a APEX class as a REST Web Service. <em>HealthCloudGA.Patient </em>is the Health Cloud internal class which can create patient using this method, <em>HealthCloudGA.PatientService.createPatient</em>. The beauty of this <em>HealthCloudGA.Patient </em>class is that you can enter data into Account and Contact without calling separate APIs.</p><pre>@RestResource(urlMapping=&#39;/api/CreatePateintBusinessAPI&#39;)<br>global with sharing class CreatePateintBusinessAPI {<br>@HttpPost<br>global static void genPatient(String firstName, String lstName, String subscriberId ,String gender){<br>        HealthCloudGA.Patient patient = new HealthCloudGA.Patient();<br>        patient.FirstName = firstName;<br>        patient.LastName = lstName; <br>        Id personRecordTypeId = Schema.getGlobalDescribe().get(&#39;Account&#39;).getDescribe().getRecordTypeInfosByName().get(&#39;Person Account&#39;).getRecordTypeId();<br>        patient.RecordTypeId = personRecordTypeId ;<br>       <br>        patient.customFields.put(&#39;SubscriberID__c&#39;,subscriberId);<br>        patient.gender = gender;<br>        HealthCloudGA.Result res = HealthCloudGA.PatientService.createPatient(patient);            <br>       <br>    }<br>}</pre><pre>Sample JSON to create Patient</pre><pre>{<br>  &quot;firstName&quot; : &quot;John&quot; ,<br>  &quot;lstName&quot; : &quot;Doe&quot; ,<br>  &quot;subscriberId&quot; : &quot;1234&quot;,</pre><pre>  &quot;gender&quot; : &quot;Male&quot;</pre><pre>}</pre><h3>List Of Salesforce Health Cloud Business APIs</h3><ol><li>Patient API: Allows you to create, update, and retrieve patient records, including demographics, medications, and allergies.</li><li>CarePlan API: Enables you to manage and track care plans for patients, including goals, interventions, assessments, and evaluations.</li><li>ClinicalData API: Provides access to clinical data, such as lab results, imaging reports, vital signs, and other medical observations.</li><li>Appointment API: Allows you to manage patient appointments, including scheduling, rescheduling, cancellation, and reminders.</li><li>Provider API: Enables you to manage healthcare provider records, including their contact information, specialties, and affiliations.</li><li>Referral API: Provides functionality to create, update, and track patient referrals to other healthcare providers or specialists.</li><li>Case API: Allows you to manage cases or issues related to patients, including support requests, complaints, or other non-clinical matters.</li><li>Task API: Provides functionality to manage tasks and workflows related to patient care, such as assigning and tracking tasks among care team members.</li><li>Communication API: Enables communication with patients or other care team members through secure messaging or integration with communication channels.</li><li>Analytics API: Provides access to analytics and reporting capabilities, allowing you to extract insights from health data and generate customized reports.</li><li>Integration API: Facilitates integration with external systems, such as Electronic Health Records (EHRs), billing systems, and other healthcare applications.</li></ol><h3>Use Cases:</h3><ol><li>Patient Relationship Management: Healthcare providers can leverage the Health Cloud Business API to consolidate patient data, create patient effortlessly. Moreover, it tracks interactions, manage appointments, and proactively engage patients through personalized communication. This gives a Patient 360 view without minimum customization.</li><li>Care Coordination: The API facilitates seamless coordination among care teams by centralizing patient data, enabling real-time collaboration, and ensuring a comprehensive view of the patient’s medical history and treatments.</li><li>Analytics and Reporting: By consolidating data from various sources, the Health Cloud Business API enables healthcare organizations to generate insightful reports, identify trends, and make data-driven decisions to improve patient outcomes and operational efficiency.</li><li>Population Health Management: Health systems and payers can utilize the Health Cloud Business API to analyze population health trends, identify high-risk patients, and develop targeted interventions for better disease management.</li></ol><h3>Conclusion:</h3><p>The Salesforce Business API offers an array of features that empower healthcare organizations to optimize their operations and deliver better outcomes. With its seamless integration capabilities, scalability, and compliance with industry regulations, the Business API enables healthcare providers to streamline workflows, personalize patient care, and make data-driven decisions. While there may be a learning curve and associated costs, the benefits far outweigh the drawbacks, making the Health Cloud Business API a valuable tool for healthcare organizations striving for operational excellence and improved patient outcomes.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6abaf1f6234f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Salesforce Summer 23 feature for Analytics]]></title>
            <link>https://medium.com/@swagata.howrah/salesforce-summer-23-feature-for-analytics-6d5536510f37?source=rss-a3f8cedb32e8------2</link>
            <guid isPermaLink="false">https://medium.com/p/6d5536510f37</guid>
            <category><![CDATA[salesforce-tools]]></category>
            <category><![CDATA[salesforce-lightning]]></category>
            <category><![CDATA[salesforce-productivity]]></category>
            <category><![CDATA[salesforce-development]]></category>
            <category><![CDATA[salesforce]]></category>
            <dc:creator><![CDATA[Swagata Ray]]></dc:creator>
            <pubDate>Fri, 26 May 2023 18:21:25 GMT</pubDate>
            <atom:updated>2023-05-26T18:21:25.750Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/744/1*ktNFDq0FKsgEv6i4Itommg.png" /></figure><h3>Introduction</h3><p>Salesforce introduces a lot of coolest Summer 23 feature for Analytics. Here is my four picks which you may love it!</p><h3>Analytics Home (Generally Available)</h3><p>After a long wait, finally this a GA. Now you can have a personalized environment that integrates your CRM Analytics items, reports, and dashboards with the new Analytics home. There is no need of disparate applications, you can now organize all of your metrics into a seamless and intelligent experience. For instance, you can now combine reports and CRM Analytics dashboards in the same collection to effectively organize and classify your work. Analytics Home will be your one stop shop for Reports, Dashboard, Analytics components etc.</p><p><strong>How to Navigate</strong></p><p>App Launcher -&gt; Analytics</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/723/0*9-cgmquOcChl3Zzp" /></figure><h3>Dashboard Inspector — Debug your dashboard easily!</h3><p>Do you ever wonder, how to debug dashboard? Well answer is here and it’s Dashboard Inspector. Get actionable insights, such as dashboard suggestions, right away by opening the Dashboard inspector and starting a performance check. Slow requests and network delays are now shown on a single, complete tab collectively with other relevant details.</p><p><strong>How to Navigate</strong></p><p>Open a dashboard, click <strong>More</strong> , and select Dashboard Inspector.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/723/0*GP5CxmD8W3jx4d49" /></figure><h3>Migrate Your Einstein Discovery Models (Generally Available)</h3><p>It’s now easy to distribute your predictive model from one environment to another environment using packaging. Prior to Summer 23 release, analytics models can not be retrained after migration which was a biggest issue however now others can use your model to create predictions based on information in their own environment by leveraging packaged assets. Since the last release, this functionality has undergone several improvements and is now Generally Available. Your model configuration is now included in the packaging so that it may be changed and retrained following migration.</p><h3>Post Lightning Dashboards with CRM Analytics for Slack</h3><p>Last but not the least in the Summer 23 release feature for Analytics, distribute your Analytics with your co-workers in slack channel. Recipients can access to the dashboard’s details, share it, subscribe to it and can get a real-time snapshot of it, and immediately open it in Salesforce.</p><p>How you can share it</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/723/0*5_uYWpZQdGJuTHoF" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/387/0*vkJLCGouMDhrYZmZ" /></figure><p>How it looks inside Slack</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/497/0*u1y8-ULX6LulRNox" /></figure><p>For more Summer 23 feature related highlights, follow these.</p><h3>Read More on the Salesforce Summer 23 Feature</h3><p><a href="https://medium.com/@swagata.howrah/summer-23-apex-feature-highlight-d53e8bfd25ca"><strong>Salesforce Summer 23 APEX feature Highlight</strong></a></p><p><a href="https://medium.com/@swagata.howrah/sales-cloud-salesforce-summer-23-release-features-ab0597efa7b"><strong>Sales Cloud Salesforce Summer 23 release feature</strong></a></p><p><a href="https://medium.com/@swagata.howrah/salesforce-summer-23-feature-for-service-cloud-533bb2286ecb"><strong>Health Cloud Salesforce Summer 23 release feature</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6d5536510f37" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Salesforce Survey — What is it & how to configure]]></title>
            <link>https://medium.com/@swagata.howrah/salesforce-survey-what-is-it-how-to-configure-ae17bbea2b6f?source=rss-a3f8cedb32e8------2</link>
            <guid isPermaLink="false">https://medium.com/p/ae17bbea2b6f</guid>
            <category><![CDATA[salesforce]]></category>
            <category><![CDATA[salesforce-tools]]></category>
            <category><![CDATA[salesforce-lightning]]></category>
            <category><![CDATA[salesforce-development]]></category>
            <category><![CDATA[salesforce-productivity]]></category>
            <dc:creator><![CDATA[Swagata Ray]]></dc:creator>
            <pubDate>Fri, 12 May 2023 18:18:06 GMT</pubDate>
            <atom:updated>2023-05-12T18:18:06.252Z</atom:updated>
            <content:encoded><![CDATA[<h3>Salesforce Survey — What is it &amp; how to configure</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/744/1*QIkdarSvZHArdYQWqq5VmA.png" /></figure><h3>Introduction</h3><p>Salesforce Survey is a tool that allows businesses to create and distribute surveys to gather feedback and insights from their customers. It is an integrated part of the Salesforce platform, which makes it easy to collect and analyze customer feedback in real-time. Salesforce Survey offers a variety of question types, including multiple-choice, rating, open-ended, and ranking questions, to help businesses gather meaningful insights and most importantly it’s free.</p><h3>Benefit of the Salesforce Survey</h3><p>Using Salesforce Survey has several benefits, including:</p><ol><li><strong>Improved Customer Satisfaction:</strong> By gathering feedback from customers, businesses can identify areas for improvement and make changes to improve the customer experience.</li><li><strong>Data-Driven Decision Making: </strong>Salesforce Survey provides businesses with real-time feedback that can inform decision-making, product development, and marketing strategies.</li><li><strong>Increased Customer Engagement:</strong> By soliciting feedback from customers, businesses can demonstrate that they care about their opinions, which can increase customer engagement and loyalty.</li><li><strong>Streamlined Feedback Collection:</strong> Salesforce Survey automates the feedback collection process, making it easy for businesses to gather and analyze customer feedback.</li></ol><p>Let’s jump into the configuration.</p><h3>Configuration</h3><h3>Step 1</h3><p>Go to the <strong>App Launcher </strong>and search for “<strong>Survey</strong>”. If you can not find the survey, then you may need to enable the Survey. To enable the survey, follow this <a href="https://trailhead.salesforce.com/content/learn/modules/survey-basics/prepare-for-your-first-survey?trail_id=get-started-with-salesforce-surveys">link</a>. Click on the “<strong>New</strong>” button to start a survey. After that provide the name of the survey.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/723/0*6DlitjzdVFw1-gtt" /></figure><h3>Step 2 — Salesforce survey — Branding configuration</h3><p>In the survey palate, click on the <strong>Branding</strong> button and it will take you to the branding configuration section where you can mainly change the following aspects</p><ul><li>Survey Background color</li><li>Survey Background Image</li><li>Survey Logo</li><li>Survey Logo Alignment</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/723/0*hRfEeiscGx_3wT0Z" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/723/0*-g9XfAnx3AKdBmVD" /></figure><h3>Step 3 — Salesforce survey — Welcome Page configuration</h3><p>After completing branding, then come back to the main palate by clicking on the <strong>Page</strong> button and start configuring your welcome page with a Welcome message “. Moreover, you also can add the image to that Welcome page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/723/0*YWj-BpWrStoyrIi5" /></figure><h3>Step 4 — Salesforce survey — Other page Configuration</h3><p>Click on the <strong>Add Page </strong>and<strong> pick </strong>the right type of questions you want to ask. Here are a couple of question types which you can use as a reference.</p><ol><li><strong>Multiple-choice questions:</strong> These questions provide a list of options for respondents to choose from, such as “Which of the following products have you purchased?” Multiple-choice questions are useful for gathering quantitative data and can help you understand which products or services are most popular among your customers.</li><li><strong>Rating questions:</strong> These questions ask respondents to rate a product, service, or experience on a scale, such as 1–5 or 1–10. Rating questions are useful for gathering quantitative data and can help you understand how satisfied your customers are with your offerings.</li><li><strong>Open-ended questions:</strong> These questions allow respondents to provide free-form text responses. Open-ended questions are useful for gathering qualitative data and can help you understand customers’ opinions, thoughts, and feelings in their own words.</li><li><strong>Likert scale questions:</strong> These questions ask respondents to rate their level of agreement or disagreement with a statement, using a scale such as “strongly agree,” “agree,” “disagree,” or “strongly disagree.” Likert scale questions are useful for gathering quantitative data and can help you understand customers’ attitudes and opinions.</li><li><strong>Net Promoter Score (NPS) questions:</strong> These questions ask respondents to rate the likelihood that they would recommend your product or service to a friend or colleague, using a scale of 0–10. NPS questions are useful for measuring customer loyalty and can help you identify promoters (customers who are likely to recommend your product or service) and detractors (customers who are unlikely to recommend your product or service).</li><li><strong>Ranking questions:</strong> Ranking questions in Salesforce surveys are used to understand customer preferences by asking them to rank a set of items in order of preference or importance. The ranking question type allows customers to drag and drop items into the order they prefer, which provides more granular data than a traditional multiple-choice question.</li><li><strong>Score type questions</strong>: Score type questions in Salesforce surveys are used to measure customer satisfaction or sentiment on a numeric scale. This question type allows businesses to quantify feedback and identify areas for improvement. The scores can be used to calculate a Net Promoter Score (NPS) or Customer Satisfaction (CSAT) score to measure customer loyalty and satisfaction.</li><li><strong>Single selection type questions:</strong> These types of questions in Salesforce surveys are used to ask customers to select one answer from a predefined set of options. This question type is useful for gathering demographic information, feedback on products and services, and customer preferences. It can provide quick and easy-to-analyze data that can help businesses understand customer preferences and make informed decisions.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/723/0*ZMZAFPvoMBaSyCvb" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/723/0*iAvHnYPpPORCFKZD" /></figure><h3>Step 5 — Survey — Thank You Page Configuration</h3><p>When you have completed your pages of questions, then the last page you need to configure is “Thank you Page” with a nice message. This is the last step and you have done with your survey. Now you can activate the survey using <strong>Activate </strong>button which is ready to be distributed.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ae17bbea2b6f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Salesforce Health Cloud Summer 23 Feature]]></title>
            <link>https://medium.com/@swagata.howrah/salesforce-health-cloud-summer-23-feature-c9296e180d34?source=rss-a3f8cedb32e8------2</link>
            <guid isPermaLink="false">https://medium.com/p/c9296e180d34</guid>
            <category><![CDATA[salesforce-lightning]]></category>
            <category><![CDATA[salesforce-development]]></category>
            <category><![CDATA[salesforce-tools]]></category>
            <category><![CDATA[salesforce-productivity]]></category>
            <category><![CDATA[salesforce]]></category>
            <dc:creator><![CDATA[Swagata Ray]]></dc:creator>
            <pubDate>Fri, 05 May 2023 20:30:28 GMT</pubDate>
            <atom:updated>2023-05-05T20:31:13.052Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/744/1*rZo7xFMOENhTMfqkYCpUXQ.png" /></figure><p>Salesforce Health Cloud Summer 23 feature is out with a lot of exciting new features. In this blog, I will tell you about my favorites on the Health Cloud Features and continue my journey in the other areas. Stay tuned.</p><h3>Make Faster Clinical Determinations using Services Pathway and Bundling Recommendations — Utilization Management Summer 23 feature</h3><p>Get a list of suggested request that you should expect to receive as a <strong>payer </strong>from a provider. To automate the approval of requests and save time, create flow based on the <strong>recommended services</strong> which can be auto approved. These recommendations are part of the services pathway and the services to bundle based on a patient’s primary diagnosis and previously submitted authorization requests. For example, if that patient met car accident and received chiropractor services already, then future requests related to chiropractor services can be automatically approved.</p><p>Get a list of suggested services that you should submit to a payer as a provider. Reduce your effort by determining to include the recommended services in your authorization requests. Providers can now get suggested recommendation request as “Chiropractor visit” for car accident.</p><p>Check the Recommended Services Pathway dashboard as a payer to view the services you will probably get for a member.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/570/0*ZaGWsltDjgq2N5xb" /></figure><p><strong>Provider view</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/723/0*2wf09l52eIh79-7N" /></figure><h3>Easily Set Up the Contact Center with the New Guided Setup</h3><p>With the help of Health Cloud Add-On license, you can configure the Contact Center app with step by step guided process. You can also make the app easily available to the users and verify steps that are automatically configured. From Setup, go to Feature Settings -&gt; Health Cloud, select <strong>Contact Center Settings</strong>. Turn on the toggle to see the guided setup steps.</p><h3>Assessment configuration with guided setup and Assessment is in Experience Cloud — Assessment, Salesforce Health Cloud Summer 23 feature</h3><p>you can use the guided path which allows to configure the <strong>assessment</strong> that includes set up, permissions, adding the Assessments component to a page, and tailoring the flow to send the email notification to patients.</p><p>Along with this feature, there is another big change happened in the Assessment after Salesforce . Now, patients can get emails reminding them that they have assessments to finish. Then, the patient accesses the Experience Cloud by clicking a link in that email, complete the required assessments, and submits their answers.</p><h3>Provider Search for Guest user and Actionable Relationship Center to visualize Patient Relationships with Practitioner</h3><p>Patient as a guest user can search their own provider in Experience cloud. <strong>Actionable Relationship Center (ARC)</strong> provides an advanced visualization and a holistic view of a patient using two prebuilt templates, Patient Relationship and Healthcare Practitioner.</p><h3>Read More on the Salesforce Summer 23 Feature</h3><p><a href="https://medium.com/@swagata.howrah/summer-23-apex-feature-highlight-d53e8bfd25ca"><strong>Salesforce Summer 23 APEX feature Highlight</strong></a></p><p><a href="https://medium.com/@swagata.howrah/sales-cloud-salesforce-summer-23-release-features-ab0597efa7b"><strong>Sales Cloud Salesforce Summer 23 release feature</strong></a></p><p><a href="https://medium.com/@swagata.howrah/salesforce-summer-23-feature-for-service-cloud-533bb2286ecb"><strong>Health Cloud Salesforce Summer 23 release feature</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c9296e180d34" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Salesforce Summer 23 feature for Service Cloud]]></title>
            <link>https://medium.com/@swagata.howrah/salesforce-summer-23-feature-for-service-cloud-533bb2286ecb?source=rss-a3f8cedb32e8------2</link>
            <guid isPermaLink="false">https://medium.com/p/533bb2286ecb</guid>
            <category><![CDATA[salesforce]]></category>
            <category><![CDATA[salesforce-productivity]]></category>
            <category><![CDATA[salesforce-development]]></category>
            <category><![CDATA[salesforce-tools]]></category>
            <dc:creator><![CDATA[Swagata Ray]]></dc:creator>
            <pubDate>Tue, 02 May 2023 02:58:50 GMT</pubDate>
            <atom:updated>2023-05-12T14:07:27.926Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/744/1*5f3tqAhuOERd_VJgEqb7_A.png" /></figure><p>Salesforce Summer 23 feature is out with a lot of exciting features. In this blog, I will tell you about my favorites on the Service Cloud Features and continue my journey in the other areas. Stay tuned.</p><h3>Service Catalog</h3><p>Create approved and documented orders out of your customers’ requests for products and services by using Service Catalogue which is now GA. Moreover, automate regular requests like password resets, User Deactivation etc. This catalogue can be extended to the customer and partner by using Service Catalogue in the Partner and Customer Community. This out of the box low code Aura components built for Service Catalog and with prebuilt Aura site templates from Experience Cloud. Previous to Salesforce Summer 23 feature, service catalogue was only available on Work.com.</p><p><strong>Experience Cloud Site Screenshot</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/723/0*9t0v4pu3CuTeDtD7" /></figure><h3>Send Voice Messages in Enhanced Messaging Channels</h3><p>Record your voice and send it to the customer up to 1 minute long in enhanced WhatsApp and enhanced Facebook Messenger channels. Previous to this you need to record it separately and then send it. After this change, the experience is so neat!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/723/0*QrI-HYym75xkHb6Z" /></figure><h3>Real-Time Keyword Alerts for Supervisors in Messaging Channels</h3><p>Do you want your supervisor jump into discussion if discussion is happening on a special product/case/escalation? You are in luck! Now, if a customer or agent sends a high-stakes keyword or phrase, automatically raise the agent’s flag so their supervisor can help if needed. An intelligent conversation rule can be used to alert your supervisor. It also triggers real-time actions based on keywords mentioned by customers or agents.</p><p>For example, if an agent says, “Cancel your subscription,” the Service Console automatically shows an Einstein Next Best Action recommendation for the agent to offer a discount.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/634/0*gURC2BCeaSoKg5Rd" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/723/0*M9ppFtnj5nB5W0fF" /></figure><h3>Monitor Contact Center Health in the Omni Supervisor Wallboard (Pilot) — A debutant to Salesforce Summer 23 feature</h3><p>To assist supervisors right away to detect and address concerns, present real-time analytics. More charts are included on the wallboard in this ongoing pilot. Supervisors can choose an interesting queue on the Omni Supervisor page to filter the metrics displayed. This Contact Center Health will be in Wallboard Tab.</p><p>Charts available in the Wallboard</p><ul><li>Agent work statuses</li><li>Handle times</li><li>Average speed to answer time,</li><li>Average active work time</li><li>After conversation work times for the last hour</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/723/0*-2j00naezmUYfNLS" /></figure><h3>Enable Lightning Article Editor and Article Personalization for Knowledge (Beta)</h3><p>Now you can enjoy enhanced Article editor by using below unique features</p><ul><li>Increase author productivity with simple access to a variety of content formatting tools and sophisticated table editing.</li><li>To write articles more efficiently and to better understand how the articles seem to readers, you may adjust the editor’s size to your preference (including full screen mode).</li><li>Copy and paste text from websites or other external sources with ease while preserving the style and feel of the original source material.</li><li>Using the built-in accessibility checker tool, make sure your articles adhere to W3C accessibility standards.</li></ul><p>In my personal option you may see Einstein GPT will be engaged in the future versions. Stay tuned!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/705/0*iyMNP-Y7mLEw2mx3" /></figure><p><a href="https://medium.com/@swagata.howrah/summer-23-apex-feature-highlight-d53e8bfd25ca"><strong>Salesforce Summer 23 APEX feature Highlight</strong></a></p><p><a href="https://medium.com/@swagata.howrah/sales-cloud-salesforce-summer-23-release-features-ab0597efa7b"><strong>Sales Cloud Salesforce Summer 23 release feature</strong></a></p><p><a href="https://medium.com/@swagata.howrah/salesforce-health-cloud-summer-23-feature-c9296e180d34"><strong>Health Cloud Salesforce Summer 23 release feature</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=533bb2286ecb" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>