The ByRecord Slack app lets the vendor's account executives build a quote without leaving Slack. A slash command or a shortcut opens a quote form. The finished quote comes back with its proposal PDF, in the conversation you asked from or in your messages with ByRecord, with a button that sends it to the customer.
The app acts as your console login, so a quote made in Slack is the quote you would have made in the console: created through the partner API's own validation, priced on the server, and owned by you.
| Opens the form | The app's slash command, or the New quote shortcut |
| Who can use it | partner_sales, and the operator's admin and staff |
| Creates | A draft quote, owned by you |
| Sends to the customer | Only when someone presses Send to customer |
| Workspaces | One: the vendor's |
Who can use it
The app finds your console login and acts as that login. The vendor's people are found by their Slack email, ignoring case. The operator's staff and admins are never found by email, because a workspace's admins control its members' emails: theirs is the Slack account they linked, below. Only a login that may create and own a quote gets the form:
| Console role | From Slack |
|---|---|
admin, staff | Yes, through the Slack account they linked |
partner_sales | Yes, at one of the vendor's email domains |
partner_ops, partner_finance | No |
| A customer, as owner, billing or viewer | No |
| A login that is switched off | No |
The vendor's people need no invitation. The first time a full member of the vendor's workspace uses the app, if no login has their Slack email, they are given one: partner_sales, on the programme's accounts, with no password. This needs Slack to have confirmed their email, and the address to be at exactly one of the vendor's email domains; a subdomain does not count, and guests are not given one. A login that already exists is taken as it is: one that was switched off stays off, and one with another role keeps it. Each login added this way is audited.
The operator's staff link their Slack account. On their Security page in the console, they make a one-time code and type /byrecord link CODE in Slack within 10 minutes. That Slack account, in that workspace, is then their login's, and nothing else can act as them from Slack.
Everyone refused gets the same private reply, whatever the reason, so the app never tells anyone which emails have logins:
Your Slack email isn't set up in ByRecord yet — ask ByRecord to add you.
Also refused: a deleted Slack user, a bot, a Slack email that was never confirmed, and a Slack Connect guest whose home workspace is another one. You are looked up again when you submit the form and when you press a button, so a login switched off in between is refused at that point.
Building a quote
- Type the app's slash command in a channel or a direct message, or choose New quote from Slack's shortcuts. The slash command is
/byrecord. - Fill in the form. Its choices are read from the programme's catalogue each time it opens.
- Choose Create quote. The form is checked before it closes, and the quote comes back within a few seconds.
| Field | Required | Notes |
|---|---|---|
| Business name | Yes | The new customer account's name |
| Legal name | No | Defaults to the business name |
| Billing email | No | Where invoices go. Defaults to the contact's email |
| Street, city, state, ZIP code | No | A US address: the 50 states and DC. A ZIP code is five digits, or ZIP+4 |
| Contact name and email | Yes | Who receives the proposal and signs it |
| Contact title | No | |
| Salesforce opportunity | Yes | The opportunity link that follows the deal onto the contract and the reseller order |
| Configuration | Yes | What picks the subscription tier; see the catalogue. Only configurations the catalogue's tiers price are offered |
| Term (months) | Yes | 1 to 120, 12 to start with |
| Add-ons | No | Catalogue items priced at list on their own, one of each, grouped Monthly and One-time |
| Billing starts | Yes | When installation is complete, or on a date |
| Billing start date | When billing starts on a date | |
| Notes | No | Up to 2,000 characters. Not shown to the customer |
Checked before the form closes
A submission is checked by the partner API's own code: its request schema, the Salesforce link check, the catalogue matching and the pricing. What fails is shown on the field at fault, and nothing is written: a configuration beyond the largest tier, a link that is not a Salesforce opportunity, an add-on retired since the form opened. Prices are never typed; every line is priced on the server, as for any quote.
A form submitted twice makes one quote.
Filling it in from a quote document
Where the programme reads quote documents, the form can fill itself in from the vendor's quote document for the deal, as a PDF.
- The upload button opens a small form over the quote form, with a file picker for one PDF. Read it returns to the quote form, which says it is reading the document and fills itself in, in about half a minute.
- The form is redrawn filled in: the business name, the configuration, and a summary of the document's lines at the prices the customer will be charged, by the programme's pricing rule. The document's lines are the quote, so there are no add-ons to choose.
- Add the contact, the opportunity and anything else, and submit.
A document makes one quote, and only for the person who uploaded it. Lines on it that cannot be priced are kept as needs review, and hold the quote as a draft until someone resolves them in the console. A document the form cannot use is named at the top of the form, which stays open to be filled in by hand: a file that is not a PDF, one that cannot be read, one not in US dollars, or one with nothing on it that can be priced.
Where the quote comes back
- Typed in a channel ByRecord has been added to, or in your messages with ByRecord: the quote is posted there.
- Typed anywhere else, such as a channel the app is not in or a direct message between people, or opened from the shortcut, which comes from no conversation: the quote goes to your messages with ByRecord. Where you typed the command, you get a private line saying so, and that adding ByRecord to the channel has quotes posted there.
The message carries the quote's number, the customer, the monthly and one-time totals, any lines needing review, who the proposal is for, and that nothing has gone to the customer yet. Under it are Send to customer and Open in portal, and the proposal PDF is uploaded beside it, named after the quote's number and the customer.
A quote posted in a channel is seen by everyone in it, its PDF included. For a deal the channel should not see, use your messages with ByRecord.
Nothing goes to the customer until someone presses Send to customer, or sends the quote from the console.
Sending it to the customer
Send to customer asks you to confirm, then sends the proposal exactly as the console's send does, with the same refusals: lines still needing review, no contact email, no Salesforce opportunity, or, where sales tax is charged, an incomplete service address. A refusal is posted beside the quote and nothing changes.
Once sent, the message is redrawn to say to whom and on what date, with only Open in portal left. If the email itself did not go out, the message says so, and to resend it from the console. The button appears only on a draft; resending is done in the console.
In a channel, anyone there who can use the app can press it, and the send is recorded as theirs.
Opening it in the console
Open in portal is a button, not a link, and answers whoever pressed it, privately, in a reply only they can see.
- The vendor's people get a link that signs them in to the console as their own login, at the deal, with no password. It works once, within ten minutes. Each link handed out is audited.
- The operator's staff and admins get the deal's address, and sign in as usual. The vendor's workspace vouches for the vendor's people, never for an internal login.
- Anyone the app does not know gets the usual refusal.
Someone else pressing the same button in a channel gets their own answer, as themselves. Anyone can still set a password with Forgot your password? on the sign-in page.
Deal updates in Slack
Separately from the app, anyone who owns deals can have each deal's moments posted to Slack as well as emailed: when the proposal is opened or accepted, the agreement is signed, a payment method is saved, the installation is recorded, and billing starts. On the console's Deals page, under Updates, choose Add Slack and paste a Slack incoming webhook address. Only https://hooks.slack.com/ addresses are accepted. Where the programme has a team channel set up, moments of deals whose owner has no webhook of their own go there.
The email is the notification of record: a Slack failure is logged and never stops it.
Connecting a workspace
The app serves one workspace, the vendor's, and has no public install link. ByRecord sets it up with the vendor:
- An admin of the vendor's workspace creates the app from ByRecord's manifest and installs it. Where the workspace requires approval for apps, an admin approves it first.
- The app's bot token and signing secret, and the workspace's ID, are given to ByRecord, which keeps them as secrets. Until the token and the secret are set, the app is off and every one of its addresses answers
404. - There is nothing to do for account executives: they use the app as described under Who can use it.
Adding a permission to the app later means installing it again.
Permissions it asks for
| Scope | Why |
|---|---|
commands | The slash command and the New quote shortcut |
users:read, users:read.email | To read your Slack email, and so find your console login |
im:write | To open its direct message with you |
chat:write | To post the quote and redraw it once sent |
files:write | To upload the proposal PDF |
files:read | To read a quote document you upload into the form. Without it, the form says so and is filled in by hand |
The app's Messages tab is read-only: nobody types into it, and the app reads no messages.
Security
- Every request is verified. Slack signs each request with the app's signing secret, as HMAC-SHA256 over the request's timestamp and its raw body, and the app compares the signature in constant time. A timestamp more than five minutes away is refused, and so is the same signed request a second time. Anything else answers
401. - One workspace. A request from another workspace answers
403. - Rate limited. More than 1,500 requests in 15 minutes from one address answer
429. - Who you are is Slack's word. The app takes Slack's word for who someone is, so whoever can change a member's email in the vendor's workspace, its admins, decides which console login that member acts as, in Slack and, through Open in portal, in the console. That is why a sign-in link is never handed to the operator's staff or admins: the vendor's workspace vouches only for the vendor's people.
- Files stay with Slack. An uploaded document is downloaded only from Slack's own file hosts, with no redirect followed, so the bot token never leaves Slack, and a file over 20 MB is refused. The proposal PDF is sent to the upload address Slack returns, without the bot token. Private replies go only to Slack's own reply addresses.
- Nothing sensitive in logs. A failure is logged with Slack's error code or the platform's own reason, never a token or the customer's details.
- Audited. Each quote created or sent from Slack is in the audit log as the person who did it, marked as from Slack, as are logins added from Slack, sign-in links handed out, and quote documents read.
If something goes wrong
| What you see | What it means |
|---|---|
| "Your Slack email isn't set up in ByRecord yet — ask ByRecord to add you." | Your Slack email does not match a login that can use the app, and one could not be added for you. Ask ByRecord |
| "The quote form could not be opened. Try again in a moment." | Usually, Slack's time to open the form ran out. Try again |
| "I couldn't create that quote: … Nothing was sent to the customer." | The quote was refused, for the reason given. Nothing was created |
| "Quote … was created, but something went wrong before its PDF reached you. Open it in the portal: …" | The quote exists. Open it in the console from the link |
| "Something went wrong and the quote was not created. Nothing was sent to the customer." | Nothing was created. Try again, or build the quote in the console |
| "Not sent: …" | The send was refused, for the reason given. Nothing changed |
| The form closes and nothing comes back | Rare: the server restarted mid-way, or Slack refused the message. Check for the quote in the console before submitting a new form, or ask ByRecord |
Limits
- Quotes from the form are in US dollars, to a US address.
- The form cannot set a negotiated monthly figure, a custom subscription figure, more than one of an add-on, or a line typed by hand. Add those in the console afterwards.
- A quote from the form always makes a new customer account; the form does not look up an existing one.
- The add-ons list shows at most 100 items, Slack's limit for a list, in catalogue order.