CRM hygiene report
Every Monday, finds stale close dates, missing amounts and next steps, and quiet deals in Salesforce, and posts them to Teams by owner.
Query records with SOQL, read and update any object through the REST API. Toolspoke gives your agents 9 of its actions, and you decide which ones each project allows.
Open the marketplace in your workspace, add Salesforce to the project your agents work in, and it appears on the gateway immediately.
Provide the credential Salesforce asks for. Where to get it, and what it has to be able to reach, is the next section.
Describe the job in one sentence and the builder proposes the instructions, the toolkits it needs, a schedule and where it should answer, or start from a catalogue agent. It can use every Salesforce action the project leaves on.
Ask it in a channel or a thread, and it replies in the thread it was asked in.
Email it. Each write waits for a person's go-ahead unless that action is allowed in advance.
Mention it on a pull request, and it answers there.
A routine wakes it on a schedule, or when a new item matches.
Any agent in the project can use Salesforce, and only the actions the project leaves on.
Sign in with Salesforce. You provide it once, when you install the connector. Toolspoke encrypts it at rest and decrypts it only for the length of a single call, and the gateway attaches it to the outbound request itself, so it is never part of the arguments an agent sends.
9 actions, each one declared by name in the connector. A workspace policy grants a person all of them, a hand-picked selection, everything on the read side, everything on the write side, or none.
7 read, 2 write, none destructive
Fetches data and changes nothing.
soql_queryRun a SOQL query and return the matching records. This is the main way to read anything out of Salesforce: it reaches every standard and custom object, follows relationships (Account.Name from a Contact), filters, sorts and aggregates. Name the fields you want rather than guessing. SOQL has no SELECT *, and call describe_object first when you are not sure a field exists, because a bad field name comes back as an error rather than as an empty result. Salesforce returns the first 2,000 records and sets done to false when there are more; this connector has no follow-the-cursor operation, so page with LIMIT and OFFSET in the statement itself, or narrow the WHERE clause.
sosl_searchRun a SOSL search, full-text matching across several objects at once, which SOQL cannot do. Use it when you have a name, a phone number or a fragment of an email address and do not yet know which object it lives on; use soql_query when you know the object and the field. The statement carries its own structure, e.g. FIND {Acme} IN ALL FIELDS RETURNING Account(Id, Name), Contact(Id, Name, Email), Lead(Id, Name).
get_recordFetch one record by its 15 or 18 character Salesforce id, on any object. Ask for the fields you need, without `fields` Salesforce returns every field on the record, which on a customised Account or Case is thousands of tokens of mostly empty columns. Ids come from soql_query, sosl_search or list_recent_items; describe_object lists the field names this object actually has.
describe_objectReturn one object's full metadata: every field with its API name, label, data type, whether it is required, and the picklist values it accepts. This is the operation to call before writing anything, because a Salesforce org's schema is whatever its admins built, field names, required fields and picklist values are all local. The response is large; ask for one object at a time.
list_objectsList every object in the org, standard and custom, with its API name, label and what can be done to it. Call this first when you do not know what the org calls something: a company's Accounts may be Accounts, or they may have a custom object beside them. Then call describe_object for the one you want. This is also the connection check, because it is a metadata read that touches no records.
list_recent_itemsReturn the records the signed-in user viewed most recently, across objects, newest first. Useful as an opening move when somebody says "the opportunity I was just looking at" and gives you nothing else to go on. Returns ids and names only; pass an id to get_record for the rest.
get_current_userReturn the identity this connection is signed in as: the Salesforce user id, username, display name, email address and organization id. Call it to confirm which org and which user a write would be attributed to before making one. It needs the `id` scope, which this connector's sign-in requests; list_objects is the check used at install because it needs only `api`.
Creates or updates something on the other side.
create_recordCreate one record on any object. `body` is a flat map of field API names to values, exactly as Salesforce takes it, {"Name": "Acme Corp", "Industry": "Technology"} for an Account, {"LastName": "Doe", "Email": "[email protected]", "AccountId": "001…"} for a Contact. Call describe_object first for the field names and for which of them are required; Salesforce rejects the whole create when one required field is missing and names it in the error. Returns the new record's id.
update_recordChange fields on an existing record. Only the fields in `body` are written; everything else is left alone, and null clears a field. Salesforce answers a successful update with an empty 204, so read the record back with get_record if you need to see the result. This cannot delete a record, no delete operation is offered by this connector at all.
The gateway enforces each of these, so they can be stated flatly.
9 named actions: 7 that only read and 2 that write. They include soql_query, sosl_search and get_record. Nothing outside that list is reachable: the connector declares each operation by name rather than proxying whatever an agent asks for.
Sign in with Salesforce. The connector asks for instance url, and optionally api version. Values are encrypted at rest and attached to the outbound request by the gateway, so they are never part of the arguments an agent sends and never reach the audit log.
Install Salesforce in a project and every agent in that project can use the actions the project leaves on. Describe a job in one sentence and the builder proposes the instructions, the toolkits it needs, a schedule and where it should answer, or start from a catalogue agent. The agent answers when someone asks it in Slack, emails it or mentions it on a GitHub pull request, or when its routine wakes it.
The 9 actions above are the whole of it. A call to any other name is refused before it reaches Salesforce rather than forwarded on, and connecting your account does not add to the list: it is fixed by the connector, not discovered at run time. This connector writes to Salesforce, but nothing in it deletes or permanently alters anything. Toolspoke holds no access to Salesforce of its own. Every call carries the credential you stored and nothing besides, so whatever that credential cannot reach, this connector cannot reach either. Nothing is pushed to it. There is no webhook, no subscription and no polling, so this connector cannot notice by itself that something changed in Salesforce. An agent has to ask. Toolspoke does not retry, queue or back off around Salesforce's own rate limits. A call that Salesforce refuses comes back to the agent as a failed call.
Yes, in two places. The project switches Salesforce's actions on and off one at a time, for everyone in the project at once, and the screen groups them by read, write and destructive so turning off everything that deletes is one click. An individual agent key can then be narrowed further, to particular toolkits in a project and to particular actions in a toolkit. Whatever it was granted, a key never reaches a project its owner cannot.
Every attempt, with the agent that made it and the person that agent belongs to, the full request payload, the response payload, the status, the duration, and what the call cost in sandbox time and model tokens. Values whose key names a secret are masked out before the record is shown to anyone. An operation the connector marks as not retained never has its response body written at all, so the gateway keeps no second copy of what was read.
Every Monday, finds stale close dates, missing amounts and next steps, and quiet deals in Salesforce, and posts them to Teams by owner.
Every Monday, flags open Salesforce deals that have slipped, stalled or gone quiet in Gong, and posts them to Slack by owner.
Finds Salesforce contracts renewing in the next 90 days each weekday and leaves one Outlook draft per account for a person to send.
Add Salesforce to a project and give it to an agent.