{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition","img"]},"redocly_category":"AI","product_name":"Treasure AI Voice","type":"markdown"},"seo":{"title":"AI Voice Salesforce Integration","description":"Send Treasure AI Voice recording summaries and to-do lists to Salesforce as Tasks. Set up the Salesforce app, queue, and credential, then send from iOS.","siteUrl":"https://docs.treasure.ai","image":"/assets/treasure-ai-social-preview.e6fefb35676f6da91c2d1bc783bd39e618e7af2b1ad3aa52a96ae69d72e700fe.b1bff462.png","lang":"en-US","jsonLd":{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://www.treasure.ai/","name":"Treasure AI","url":"https://www.treasure.ai/","logo":"https://www.treasure.ai/hubfs/assets/images/logos/primary-logo.svg"},{"@type":"WebSite","@id":"https://docs.treasure.ai/#website","name":"Treasure AI Documentation","url":"https://docs.treasure.ai/","inLanguage":["en","ja"],"publisher":{"@id":"https://www.treasure.ai/"}}]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"salesforce-integration","__idx":0},"children":["Salesforce Integration"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Salesforce Integration sends the AI summary and to-do list of a Treasure AI Voice recording to Salesforce as a Task, so the follow-up reaches your sales team's Salesforce organization without being copied by hand. Use it after a customer meeting when the summary and action items should be visible to the people who work the account in Salesforce. An Enterprise Admin user and a Salesforce administrator set up the connection once, and recording owners send individual recordings from the Treasure AI Voice iOS app."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"what-salesforce-integration-does","__idx":1},"children":["What Salesforce Integration Does"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Each send creates one standard Salesforce Task. Treasure AI Voice doesn't install a package, custom object, custom field, or Flow in your Salesforce org. It writes only to the Task object, using the permissions that you grant to a dedicated integration user."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"what-gets-sent","__idx":2},"children":["What Gets Sent"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Each Task carries the following data from the recording:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The AI-generated summary."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The to-do list, when the recording has action items."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The recording ID, the recording owner's Treasure AI Voice sign-in email, and the recorded time in UTC. These values form a routing block at the start of the Task description."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The Task subject, which combines the recorded time and the AI-generated name of the recording."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure AI Voice doesn't send the audio or the full transcript. It also doesn't read any data back from Salesforce."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"who-can-send","__idx":3},"children":["Who Can Send"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Only the person who made a recording can send it, and only after the recording finishes processing. Enterprise Admin users can't send another person's recording, and the AI Voice Console has no send action."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Each send creates a new Task. If you send the same recording again, a second Task is created. Both Tasks carry the same recording ID."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The send action appears only when Treasure AI has turned on the Salesforce export add-on for your organization and the connection is saved. It is available in the iOS app only."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"where-the-task-goes","__idx":4},"children":["Where the Task Goes"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The Task is owned by the Salesforce queue that your administrator configures. If no queue is configured, the Task is owned by the integration user. Treasure AI Voice doesn't link the Task to an Account, Contact, or Opportunity, and it doesn't pick a Salesforce user as the owner. Assign the Task to a person or record in Salesforce."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"data-retention-and-deletion","__idx":5},"children":["Data Retention and Deletion"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The send metadata includes the Task ID, the status, the sender, and the Salesforce error code when a send fails. It doesn't store the summary or the to-do list in these records."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Deleting a recording in Treasure AI Voice doesn't delete its Task in Salesforce. If the Task must be removed, delete it in Salesforce. Treasure AI Voice doesn't carry out data-subject deletion requests in Salesforce, so manage retention and deletion of the Salesforce copy there."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Any AI processing inside your Salesforce org is governed by your Salesforce contract and configuration."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"prerequisites","__idx":6},"children":["Prerequisites"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Confirm the following before you configure Salesforce Integration."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Treasure AI Voice"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Your organization has the Salesforce export add-on turned on. Treasure AI turns on this add-on for your organization. If you don't see the Salesforce destination on the Export page, contact your Customer Success Manager."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The Treasure AI Voice iOS app, signed in with the account that made the recordings you want to send."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Salesforce"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["A Salesforce org that you can reach at its My Domain URL, for example ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://acme.my.salesforce.com"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["A Salesforce administrator who can create an External Client App, a permission set, a queue, and an integration user."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["A dedicated integration user for Treasure AI Voice. Treasure AI Voice creates every Task as this user, so use a service account rather than a sales representative's account."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"configure-salesforce-integration","__idx":7},"children":["Configure Salesforce Integration"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Configuration happens in two places. A Salesforce administrator creates the app, permissions, and queue in Salesforce. An Enterprise Admin then saves the app's credential in the AI Voice Console."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"create-the-external-client-app","__idx":8},"children":["Create the External Client App"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Perform these steps in Salesforce as a Salesforce administrator."]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Open ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Setup"]},", find ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["App Manager"]},", and select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["New External Client App"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Enter the basic information for the app."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["In the OAuth settings, enable authorization, set a callback URL (for example, ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://login.salesforce.com/services/oauth2/success"]},"), and add the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Manage user data via APIs (api)"]}," OAuth scope."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Enable the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Client Credentials Flow"]}," option."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Save the app."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"set-the-run-as-user-and-permissions","__idx":9},"children":["Set the Run-As User and Permissions"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure AI Voice authenticates with the app's client credentials, so every Task is created as the app's Run-As user. In the app's policy settings, enter the exact username of the dedicated integration user in ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Run As (Username)"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Then create a permission set, assign it to the integration user, and grant only these permissions:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Create on the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Task"]}," object."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Field access to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Subject"]}," and ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Description"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Field access to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["OwnerId"]},", only if you configure a queue."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Don't grant anything else to the integration user. In particular, don't grant:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Read access to Opportunity, Account, Contact, User, or Group."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Any permission on ContentNote or ContentDocumentLink."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Modify All, View All, or Set Audit Fields Upon Creation."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["A credential that can't read business records can't attach Tasks to them. If the Consumer Secret is ever disclosed, it can create Tasks but can't read your Salesforce data."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"create-a-queue","__idx":10},"children":["Create a Queue"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Each Treasure AI Voice organization has one Salesforce connection and can configure one Task queue. When a queue is configured, all new Tasks sent by that organization are assigned to it. Create a queue for the people who should have access to these Tasks."]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Open ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Setup"]},", find ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Queues"]},", and select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["New"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Set ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Supported Objects"]}," to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Task"]}," only."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Add the sales team members who should see these Tasks."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Note the queue ID. It starts with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["00G"]}," and has 15 or 18 characters. A Salesforce administrator can find the ID in Setup."]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning","name":"Queue members see every summary"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Every member of the configured queue can read every summary and to-do list sent to it. Treasure AI Voice does not route Tasks to different queues by sales team. If teams need separate access, design the Salesforce routing and access controls before enabling sending."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Without a queue, the Task belongs to the integration user. The Task is then visible only to that user, to users above it in the role hierarchy, and to users with View All Data, so sales representatives usually can't see it."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"copy-the-consumer-key-and-consumer-secret","__idx":11},"children":["Copy the Consumer Key and Consumer Secret"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Open ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["External Client App Manager"]}," in Salesforce, select your app, and open the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Settings"]}," tab."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Under the OAuth settings, select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Consumer Key and Secret"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Copy the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Consumer Key"]}," and the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Consumer Secret"]},"."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"save-the-connection-in-the-ai-voice-console","__idx":12},"children":["Save the Connection in the AI Voice Console"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Perform these steps as an Enterprise Admin."]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Sign in to the AI Voice Console as an Enterprise Admin."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Open the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Export"]}," page and select the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Salesforce"]}," destination."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Open the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Settings"]}," tab."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Enter the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Instance URL"]},". Use your My Domain URL over HTTPS, with no port, path, query, or fragment, for example ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://acme.my.salesforce.com"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Optionally, enter the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Task queue ID"]},". It must have 15 or 18 letters or digits."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Enter the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Consumer Key (Client ID)"]}," and the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Consumer Secret (Client Secret)"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Save and verify"]},"."]}]},{"$$mdtype":"Tag","name":"Image","attributes":{"src":"/assets/salesforce-export-config.ac8cdcdfe536f82492fb3d4d02d08abf9d8fd1350e96f279b9b92385efe152b4.1880fd8b.webp","alt":"Settings tab for the Salesforce destination on the Export page, with Instance URL, Task queue ID (optional), Consumer Key, and Consumer Secret fields and the Save and verify and Remove credential buttons","framed":false,"withLightbox":true,"width":"60%"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["After you save, the console shows ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Saved. The credential was verified with Salesforce."]}," The Settings tab then shows when the credential was set and who set it. The Consumer Secret isn't shown again."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The console verifies the Consumer Key and Consumer Secret with Salesforce, but it doesn't check the Task queue ID. A wrong queue ID causes the first send to fail. If Salesforce rejects the credential, the console shows the Salesforce error code and saves nothing."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"change-or-remove-the-connection","__idx":13},"children":["Change or Remove the Connection"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["To change the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Instance URL"]},", enter the Consumer Key and Consumer Secret again. The console needs them to verify the new URL."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["To change only the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Task queue ID"]},", edit the field and save. The stored credential is kept."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["To stop sending, select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Remove credential"]},". Sending to Salesforce stops until you register a new credential, and the Send Summary to Salesforce action disappears from the iOS app."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["To cut off access completely, also revoke the External Client App in Salesforce."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure AI Voice doesn't track when the Consumer Secret expires. If Salesforce rejects the secret, sends fail with a permanent error. Rotate the secret in Salesforce, then enter the new Consumer Key and Consumer Secret in the Settings tab and save."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"send-a-summary-to-salesforce","__idx":14},"children":["Send a Summary to Salesforce"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Recording owners send summaries from the iOS app. For the procedure and result checks, see ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/ai-voice/user-guide#send-a-summary-to-salesforce"},"children":["Send a Summary to Salesforce"]}," in the User Guide. The AI Voice Console provides connection settings and send history, but no send action."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"review-send-history","__idx":15},"children":["Review Send History"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Enterprise Admins can review every send in the Salesforce ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["History"]}," tab. Open the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Export"]}," page, select the Salesforce destination, and open the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["History"]}," tab. The list shows the most recent sends first, with the recorded date, the person who sent it, the status, a link to the Task, and the completion time. Failed sends show the reason. You can filter the list by date and status."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"what-the-task-contains","__idx":16},"children":["What the Task Contains"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["A Task has a subject and a description. Both are generated from the recording."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The subject has this form:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"text","header":{"controls":{"copy":{}}},"source":"[AIV] 2026-09-14 01:30Z_Acme renewal call\n","lang":"text"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The date and time are in UTC, and the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Z"]}," marks UTC. The AI-generated name follows the underscore. If the recording has no name, the name and underscore are omitted. The subject is cut at 255 characters."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The description has three parts, in this order: the routing block, the summary, and the to-do list. The example below uses placeholder values."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"text","header":{"controls":{"copy":{}}},"source":"AIV_RECORDING_ID=EXAMPLE-1234-5678\nAIV_RECORDING_OWNER_EMAIL=rep@example.com\nAIV_RECORDED_AT=2026-09-14T01:30:00Z\nAIV_END\n\nSummary\n<AI-generated summary>\n\nTo Do\n1. <first action item>\n2. <second action item>\n","lang":"text"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The following rules apply to the description:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The To Do section is omitted when the recording has no action items."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The Task description can be at most 32,000 characters. If the whole description would exceed that limit, the summary is cut and ends with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["… (truncated)"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The routing block and the to-do list aren't normally cut. If they alone exceed 32,000 characters, the to-do list is cut from the end instead. This doesn't happen for realistic recordings."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["A line in the summary or to-do list that starts with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["AIV_"]}," is prefixed with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["> "]},", so that it can't be mistaken for a routing key."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"routing-metadata-reference","__idx":17},"children":["Routing Metadata Reference"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Salesforce administrators can use the routing block to route each Task with automation, without parsing the summary text. The block has the same structure for every organization."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"width":"30%","data-label":"Key"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Key"]}," "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"45%","data-label":"Value"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Value"]}," "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"25%","data-label":"Example"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Example"]}," "]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["AIV_RECORDING_ID"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The recording ID: 1 to 128 characters from letters, digits, ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["_"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["-"]},"."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["EXAMPLE-1234-5678"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["AIV_RECORDING_OWNER_EMAIL"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The recording owner's Treasure AI Voice sign-in email, as is."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["rep@example.com"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["AIV_RECORDED_AT"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The recorded time in UTC, in ISO 8601 format with a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Z"]}," suffix."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["2026-09-14T01:30:00Z"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Read the routing block with these rules:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Read from the first line of the description to the first ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["AIV_END"]}," line, and take the three keys in the order shown above."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Don't search the rest of the description for keys. Everything after ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["AIV_END"]}," is the summary and to-do list, and it can contain any text, including lines that look like keys."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The keys and their order are fixed for this release."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["AIV_RECORDING_OWNER_EMAIL"]}," is the sign-in email address exactly as the owner entered it, including any ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["+"]}," alias such as ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["name+aiv@example.com"]},". Treasure AI Voice doesn't map this address to a Salesforce user, and one address can match more than one Salesforce user. If your automation assigns Tasks to people, handle the mapping, including aliases, in your automation."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"troubleshooting","__idx":18},"children":["Troubleshooting"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Start with the message that the app or the console shows, then find the matching section below."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"send-summary-to-salesforce-doesnt-appear","__idx":19},"children":["\"Send Summary to Salesforce\" Doesn't Appear"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The action appears only when all of the following are true: the add-on is turned on, the connection is saved, you are the owner of the recording, and you are using the iOS app."]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["If the console shows ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Salesforce export is not enabled for your organization"]},", contact your Customer Success Manager."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["If the console shows ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Enter the instance URL to finish setup"]}," or ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Save the client ID and secret to finish setup"]},", complete the fields on the Settings tab and select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Save and verify"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["If the recording belongs to another person, sign in with the account that made the recording. Enterprise Admins can't send another person's recording."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The send action is available in the iOS app only, so Android devices don't show it."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"salesforce-rejected-the-credential","__idx":20},"children":["Salesforce Rejected the Credential"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The console shows ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Salesforce rejected the credential (error code: …). Nothing was saved."]}," Nothing changes until you save a credential that Salesforce accepts. Match the error code to its cause:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["invalid_client"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["invalid_client_id"]},": the credential doesn't match an active External Client App. The app may have been revoked, or the Consumer Secret may have been rotated. Check the app in Salesforce, then enter the current Consumer Key and Consumer Secret on the Settings tab."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["inactive_user"]},": the Run-As user is inactive. Reactivate the integration user in Salesforce, or set an active integration user as the Run-As user."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Any other code: ask your Salesforce administrator to check the app's settings and the integration user's permissions, then save again."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"send-fails-with-a-temporary-error","__idx":21},"children":["Send Fails With a Temporary Error"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If a send fails with a temporary error, the recording shows the failure message, and the button reads ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Retry"]},". Check the displayed guidance and your network connection, wait a while, then tap ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Retry"]},". A temporary error means the send can succeed later. Typical causes are:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The daily API limit of your Salesforce org was reached (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["REQUEST_LIMIT_EXCEEDED"]},"). The limit resets on a rolling 24-hour window, so retrying later usually works."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["A record that the send needed was locked by another process (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["UNABLE_TO_LOCK_ROW"]},")."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["A network error or timeout occurred."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If sending continues to fail, contact your administrator. For failures caused by the daily API limit, your Salesforce administrator can review API usage in Salesforce."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"send-fails-with-a-permanent-error","__idx":22},"children":["Send Fails With a Permanent Error"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The recording shows the failure message and guidance to contact your administrator. The send button remains ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Send Summary to Salesforce"]},". Retrying won't succeed until someone fixes the cause. If the cause is a connection setting, permission, or validation error, an administrator must correct it before another send can succeed."]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["An Enterprise Admin checks the connection on the Settings tab. Start with the Instance URL, the Consumer Key and Consumer Secret, and the Task queue ID."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["A Salesforce administrator checks the integration user's permission set, the Run-As user, and the queue. Confirm that the queue exists, lists Task as a supported object, and has the ID that you entered."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["If the Consumer Secret was rotated or the app was revoked, enter the current credential as described in ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#change-or-remove-the-connection"},"children":["Change or Remove the Connection"]},"."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["After your administrator corrects the cause, tap ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Send Summary to Salesforce"]}," on the recording. If sending keeps failing, contact your administrator."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"automation-rejects-the-task","__idx":23},"children":["Automation Rejects the Task"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["A Flow or validation rule that runs when Salesforce saves a Task can reject it. In that case, Salesforce doesn't save the Task, and the send fails with a permanent error that shows the Salesforce error code. Check the automation on the Task object in Salesforce."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Automation that runs asynchronously, after the Task has been saved, doesn't change the send status."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"reps-cant-see-the-task","__idx":24},"children":["Reps Can't See the Task"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Reps see a Task when a queue they belong to owns it. A Task can be hidden from reps for these reasons:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["No queue is configured, so the integration user owns the Task."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The rep isn't a member of the queue."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The queue doesn't list Task as a supported object."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Configure the single Task queue for your Treasure AI Voice organization, add the people who should have access as members, and enter that queue's ID on the Settings tab. All new Tasks sent by the organization go to that queue. Tasks sent before the queue was configured keep the integration user as their owner. Reassign those Tasks in Salesforce, or send the recording again to create a new Task that belongs to the queue. A new send creates a second Task."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"duplicate-tasks-appear","__idx":25},"children":["Duplicate Tasks Appear"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Each send creates a new Task. If a send times out, Salesforce may already have saved the Task even though the app shows the send as failed. Retrying in that case creates a second Task. Before you retry or send the recording again after a timeout, check Salesforce for an existing Task that has the same ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["AIV_RECORDING_ID"]},". Delete any duplicates in Salesforce."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"the-task-time-doesnt-match-your-local-time","__idx":26},"children":["The Task Time Doesn't Match Your Local Time"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The subject and the routing block use UTC. The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Z"]}," at the end of the time marks UTC. Convert the time to your local time zone when you read the Task."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"next-steps","__idx":27},"children":["Next Steps"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/ai-voice/user-guide#send-a-summary-to-salesforce"},"children":["Send a Summary to Salesforce"]}," — Send from the iOS app and check the result."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/ai-voice/administrator-guide"},"children":["Administrator Guide"]}," — Export page settings and the rest of the AI Voice Console."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/ai-voice/cdp-integration"},"children":["Treasure Data CDP Integration"]}," — Export the same recordings to your Treasure Data CDP for analytics and segmentation."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/ai-voice/troubleshooting-and-faq"},"children":["Troubleshooting & FAQ"]}," — Common issues with devices, the mobile app, and recordings."]}]}]},"headings":[{"value":"Salesforce Integration","id":"salesforce-integration","depth":1},{"value":"What Salesforce Integration Does","id":"what-salesforce-integration-does","depth":2},{"value":"What Gets Sent","id":"what-gets-sent","depth":3},{"value":"Who Can Send","id":"who-can-send","depth":3},{"value":"Where the Task Goes","id":"where-the-task-goes","depth":3},{"value":"Data Retention and Deletion","id":"data-retention-and-deletion","depth":3},{"value":"Prerequisites","id":"prerequisites","depth":2},{"value":"Configure Salesforce Integration","id":"configure-salesforce-integration","depth":2},{"value":"Create the External Client App","id":"create-the-external-client-app","depth":3},{"value":"Set the Run-As User and Permissions","id":"set-the-run-as-user-and-permissions","depth":3},{"value":"Create a Queue","id":"create-a-queue","depth":3},{"value":"Copy the Consumer Key and Consumer Secret","id":"copy-the-consumer-key-and-consumer-secret","depth":3},{"value":"Save the Connection in the AI Voice Console","id":"save-the-connection-in-the-ai-voice-console","depth":3},{"value":"Change or Remove the Connection","id":"change-or-remove-the-connection","depth":3},{"value":"Send a Summary to Salesforce","id":"send-a-summary-to-salesforce","depth":2},{"value":"Review Send History","id":"review-send-history","depth":2},{"value":"What the Task Contains","id":"what-the-task-contains","depth":2},{"value":"Routing Metadata Reference","id":"routing-metadata-reference","depth":3},{"value":"Troubleshooting","id":"troubleshooting","depth":2},{"value":"\"Send Summary to Salesforce\" Doesn't Appear","id":"send-summary-to-salesforce-doesnt-appear","depth":3},{"value":"Salesforce Rejected the Credential","id":"salesforce-rejected-the-credential","depth":3},{"value":"Send Fails With a Temporary Error","id":"send-fails-with-a-temporary-error","depth":3},{"value":"Send Fails With a Permanent Error","id":"send-fails-with-a-permanent-error","depth":3},{"value":"Automation Rejects the Task","id":"automation-rejects-the-task","depth":3},{"value":"Reps Can't See the Task","id":"reps-cant-see-the-task","depth":3},{"value":"Duplicate Tasks Appear","id":"duplicate-tasks-appear","depth":3},{"value":"The Task Time Doesn't Match Your Local Time","id":"the-task-time-doesnt-match-your-local-time","depth":3},{"value":"Next Steps","id":"next-steps","depth":2}],"frontmatter":{"seo":{"title":"AI Voice Salesforce Integration","description":"Send Treasure AI Voice recording summaries and to-do lists to Salesforce as Tasks. Set up the Salesforce app, queue, and credential, then send from iOS."}},"lastModified":"2026-11-20T00:53:16.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/products/ai-voice/salesforce-integration","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}