The upfront specification that separates a usable slack bot from a polished demo covers three decisions the buyer owns rather than the vendor: which channels and people the bot may touch, where credentials and conversation data live, and what evidence counts as delivery. A Chinese team that receives only a feature list will fill every gap with its own default, and those defaults usually favor the vendor’s convenience over the buyer’s control. Writing the three decisions down before the quote keeps the estimate honest and prevents the most common cross-border failure: a bot that works on the vendor’s staging workspace but cannot be installed in the buyer’s tenant under the buyer’s security review.
The three decisions the brief must fix before any estimate
The first decision is the operational boundary. Buyers should state which channels the bot may post in, whether it may read message history, whether it can invite itself to private channels, and which user groups or roles may trigger commands. A bot that answers in a public announcement channel behaves differently from one that reads threads in a private finance channel, and the permission request Slack shows to administrators reflects that difference. Leaving the boundary vague means the vendor builds the broadest version it can test, and the buyer discovers the scopes during the internal approval step, when changing them means rebuilding the app.
The second decision is the data path. The brief should say what the bot stores, for how long, in which region, and who can read it afterward. A command that looks up a customer record may need to keep only a short-lived session; an approval bot may need a permanent record of who approved what and when. Chinese vendors often default to a shared cloud database in their own region because that is the cheapest setup to operate, and a buyer who did not specify otherwise inherits that arrangement. The data path also decides whether conversation content crosses a border, which is a question the buyer’s own compliance reviewers must answer rather than the vendor.
The third decision is the evidence standard. Buyers should state what the vendor must hand over to prove the bot works: staging workspace access, test cases with expected outcomes, a runbook, repository access, and a list of the app scopes requested. This is the section that most often gets dropped from a short brief, because both sides assume “it works” will be obvious. In practice, a bot that answers demo questions in a shared workspace is not the same deliverable as one that passes written acceptance testing in the buyer’s own tenant with documented edge cases.
App scopes and permissions the team must list rather than infer
Slack apps request OAuth scopes that map to specific capabilities: reading messages, posting messages, accessing files, inviting users, reading user profiles, and so on. The vendor should return a written scope list matched to each feature, not a generic “standard permissions” line. For each scope, the brief should record why it is needed and whether it applies to public channels only or to private channels as well. A bot that needs to post alerts rarely needs to read history; a bot that summarizes threads does need history access, and that difference should be visible to the administrator approving the app.
Buyers should also specify who installs the app. In most enterprise tenants, app installation is restricted to administrators, and a vendor cannot install the bot itself. The brief should describe the handoff: the vendor prepares the app manifest and configuration, the buyer’s admin installs it in a staging workspace, and the vendor receives an invite as a developer rather than as an owner. If the vendor expects the buyer to hand over admin credentials to complete installation, that is a scope problem to raise before kickoff, not during deployment.
Third-party integrations add their own permissions. A bot that reads Jira tickets, looks up CRM records, or posts to a monitoring system holds tokens for those systems too. The brief should list each connected system, the account the token belongs to, and the minimum role required. The secrets-management side of this split is detailed in secrets management for workflow bots, and the same separation applies to a Slack app: credentials belong in the buyer’s account, stored in a controlled vault, not in the vendor’s shared project notes.
Secrets, accounts, and the region where the bot will run
Every Slack bot needs a signing secret, a bot token, and tokens for any connected service. The brief should state that these credentials are generated in the buyer’s workspace, rotated at handover, and never committed to source control. A Chinese team working remotely will usually ask for test credentials to develop against; buyers should issue scoped staging credentials with an expiry date, and require production credentials to be issued only after acceptance. The vendor’s developer access to the staging workspace should be revocable without touching production.
Hosting region deserves an explicit line in the brief. A bot process hosted in mainland China answers quickly for mainland users but places the service under local filing and data rules that a foreign buyer may not want to inherit. Hosting in Singapore, Frankfurt, or Virginia avoids those obligations but adds latency for users in mainland Asia. The choice depends on where the bot’s users sit and where its stored data is allowed to go, and it should be made before deployment because moving a running bot between regions later is a small migration with its own downtime. The vendor should name the region in writing, and the buyer should test response time from the locations where users actually work.
Account ownership follows the same rule. The Slack app itself should live in the buyer’s workspace or organization; the hosting account, the database, and any connected service accounts should be in the buyer’s name, with the vendor given operator access that can be revoked. The handover mechanics for code, accounts, and credentials are laid out in runbooks and credentials handover, and buyers should treat account ownership as a delivery condition rather than a closing favor.
What audit logging must capture for the buyer’s reviewers
For any bot that touches approvals, finance, HR, or customer data, audit logging is part of the product, not an add-on. The brief should define the events the bot records: who invoked a command, which channel it ran in, which system it read or wrote, the outcome, and any error or fallback. Each log entry should carry a timestamp in a stated timezone, the actor’s Slack identity, and enough context to reconstruct what happened during a review. Logs should be stored in a system the buyer can read, not only in the vendor’s internal dashboard.
Buyers should distinguish three log sources. Slack’s own admin logs record app installations, scope changes, and token usage; the bot’s application logs record command execution and integration calls; and the connected system’s logs record the actual data changes. A complete audit trail ties these three together, so a reviewer can follow a request from the Slack message to the record written in the backend system. A vendor who can show only the bot’s own console output has not delivered audit logging for an enterprise setting.
The brief should also say what happens to logs after an incident: retention period, export format, and who may delete them. For regulated teams, log deletion may be restricted to the buyer’s administrators. This is another item that is cheap to specify in week one and expensive to retrofit after the bot is in production, because retrofitting usually means changing how every command writes its records.
Acceptance testing written before staging exists
Acceptance criteria should be agreed in writing before the build starts, not negotiated after the demo. A practical set covers the happy path, the edge cases, the failure cases, and the permission boundaries. For an approval bot, that might mean ten command sequences with expected outcomes, three escalation paths, one case where the requester lacks permission, and one case where the connected system returns an error and the bot must hand off rather than guess. Each case should state the precondition, the action, and the expected result.
The test cases should run in a staging workspace the buyer can access, on a build the buyer can break. Buyers should run the cases themselves, or watch them run live, rather than accept screenshots. A measured pass against written cases is what turns “looks good” into acceptance. The vendor should also supply the test fixtures: sample records, sample messages, and simulated error responses, so the same cases can be rerun after changes. Error handling for retries and alerts is covered in retries and alerts in China-built workflow bots, and the failure cases in the acceptance suite should match those patterns.
Acceptance should include a handover drill: someone other than the original developer deploys the bot from the repository to a fresh environment following the runbook. If that drill fails, the build is not accepted regardless of how well the bot answers questions. Payment milestones should be tied to this drill and to the written test cases, so the incentive to produce real documentation appears before the final invoice.
Quote structure, milestones, and the cross-border working rhythm
Once the boundary, data path, permissions, and evidence standard are written, the vendor can quote against a fixed scope rather than against guesses. A Chinese quote usually separates a build fee from a monthly operations retainer; buyers should ask each vendor to price the same 12-month horizon: build, staging deployment, hosting, one post-launch feature batch, and an exit. Comparing headline numbers across different scope shapes hides where the real cost sits, and the cheapest first-year number often becomes the most expensive second-year number once exit and repairs are priced separately.
Milestones should buy artifacts: a deposit at signing that opens the repository under the buyer’s organization and provisions the staging workspace; a second payment when core commands pass the written cases; a third at acceptance after the handover drill; and a holdback of 10 to 20 percent released after two weeks of production running. Cross-border invoicing, payment currency, and any bank or wire fees should be stated in the quote, because those details change the effective price and surface late if left implicit.
Language and timezone close the brief. Chinese teams work on GMT+8; buyers should require a written specification confirmed in English, with the vendor restating each requirement in its own words before estimating, and a fixed weekly working slot that overlaps the buyer’s hours. A team that cannot offer that overlap will drift, because every question becomes a day-long round trip and every ambiguity gets resolved by the vendor’s assumption. The upfront specification exists precisely to remove those assumptions before the bot is built.
Leave a Reply