Creating a client overview page
As a business, you want to track, collaborate, and store information about your clients on Confluence. Ideally, you would create a space for each of your clients and create pages to document your meeting notes, project documentation, and more.
More often than not, you would be working with multiple teams in your company (executives, operations, sales, finance, support, product, and services) to ensure the success of your clients. Therefore, it is essential to provide as much context as possible to your team members when they work on the clients, including the information that your sales and services team stores in Salesforce.
In this example, we will build a client overview page using the connector, to surface important information from Salesforce.
Step 1: Create a Details section
In the page editor, add a new Salesforce Object macro. This macro allows you to render a vertical table containing a single query result.
In the Insert Salesforce Object Macro dialog, choose the appropriate connection.
Set the Object URL to point to the Account record in Salesforce, for example, https://ap2.salesforce.com/00128000004NZxJAAW.Â
Check the Render as Table option.
Choose relevant fields. For example, Name, Type, Phone, or Website.
Click Preview to validate your input, and click Save when you're done.
Step 2: Create a Contacts section
In the page editor, add a new Salesforce Table macro. This macro allows you to render a table containing one or more query results.
In the Insert Salesforce Table dialog, choose the appropriate connection.
Set a query to get a list of Contacts associated with the Account. For example:
SELECT Name, Title, Email, Phone FROM Contact WHERE AccountId = '00128000004NZxJAAW'
Click Preview to validate your input, and click Save when you're done.
Step 3: Create an Opportunities section
Create a new Salesforce Table macro, with a query to get a list of Opportunities. For example:
SELECT Name, Description, StageName, Amount, CloseDate FROM Opportunity WHERE AccountId = '00128000004NZxJAAW'
Click Preview to validate your input, and click Save when you're done.
Step 4: Create a Cases section
Create a new Salesforce Table macro, with a query to get a list of Cases. For example:
SELECT Id, Subject, Priority, CreatedDate, Status FROM Case WHERE AccountId = '00128000004NZxJAAW'
Click Preview to validate your input, and click Save when you're done.
That's it! Publish the page to see the results. You now have a client overview page that you can copy for each of your other clients.
You can customize your queries with filters, add more object types and tables, and more.
Â