Connect an outside service, step by step
Set up a connector once, and every workflow, filing and agent that needs that service calls it by name, signed in, with its key sealed where nobody can read it. In this guide you set up a connector, enter a key, then call it from a workflow end to end: test the call, run it and use the reply in the next step.
Any outside system, as a record, with its secrets sealed.
What a connector is
- One record per outside system: what it is (its Kind), how to reach it (Base URL, Transport) and how Codossier Office signs in (Auth Type). Never the password itself.
- Seven kinds: Workflow, Filing service, Mail, Chat, Other, Migration source and App registration.
- Twelve sign-ins in one list, from None and API key to OAuth, JWT assertion, client certificates and signed requests. The form shows only the fields the chosen sign-in uses.
- Keys are typed on the connector's key page (or into its key fields), sealed with your office's encryption keys, and read back by nobody.
- A workflow calls a connector in an HTTP request step, by its Connector Key. The reply's status and fields are values every later step can use.
- A connector grant is a person's own sign-in to a service.
Good to know
- Administrators create, change and test connectors; every role can read them, never their keys.
- A key is only ever sent to the connector's own host and its Allowed Hosts.
- Every run of a workflow with an HTTP request step is a real call to the service. Try each call with Test in the step before you publish.
- Microsoft Teams and Slack have their own set-up pages (Builder → Native Integrations) that make their connectors for you: do not build those by hand.
Before you start
- Connectors are for administrators: every role can read them, only administrators create and change them.
- Two connectors show the set-up: Client portal API, a free public service with no sign-in, and Court reporter bookings, a booking service that wants an API key, to show where a key goes.
- Then a workflow, Client portal task status, calls the first one end to end: the step, a test call, publish, a run, and the reply used by the next step.
- Have the service's address and its sign-in details at hand (its documentation says which kind of sign-in it uses). Never paste a key into a chat, a workflow or a description: it goes on the key page only.
Part 1. Create the connector and say what it is
1Open the Connectors list and press New
Connectors are a table like any other: open Connectors from your left menu (type Connectors in Search tables if your menu does not show it). The list shows each connector with its Connector Key, its Kind and its Transport. Type in the search box to find one.
New opens an empty connector form. Nothing is saved until you press Save.

2Name it, give it a key, say what kind it is
Fill the top of the form:
- Name: what people read (Client portal API).
- Connector Key: lower case, digits and underscores (for example client_portal; the box is blanked in these pictures). Workflows store this key, not the name, so pick it once: it cannot change while a workflow uses it, and it is locked after the first save.
- Kind and Transport: next step.
- Auth Type: how Codossier Office signs in. This public service needs none, so None.
- Description: what the service is and who to ask about it.
- Docs URL: a link to the service's own documentation, for whoever looks after the connector.
- Citizen: marks a connector Codossier Office itself ships (the practice platforms you can move from); it can never be deleted. Leave it off.
- Secrets: where Codossier Office keeps this connector's keys, sealed. Leave it empty: once a key is saved (step 8) it reads (encrypted).

3Kind: what the connector is for
Pick the Kind:
- Workflow: a server your workflows call. Our example.
- Filing service: a court's or an agency's e-filing service.
- Mail, Chat, Other: a mail server, a chat app, anything else Codossier Office calls.
- Migration source: a practice platform you are moving from. It shows its own fields instead (regions, paging, what a firm enters to connect) and no workflow can call it.
- App registration: an app registered with an identity provider (Microsoft Entra, Google). It only signs other connectors in and is never called itself.
Transport is REST for almost every service; Salesforce, Files and MCP are for the sources that need them.

Part 2. Choose how Codossier Office signs in, where it calls, and enter the key
The Auth Type dropdown decides the sign-in fields below it: the form shows only the fields that sign-in uses, and marks the ones it needs. Change it, and the fields that no longer apply are cleared when you save.
4Auth Type: pick the sign-in the service asks for
Open Court reporter bookings, a service that wants an API key, and open Auth Type. One list covers every sign-in:
- None: an open service.
- API key, Bearer token, Basic, Digest: a key, a token, or a user and password the service gave you.
- OAuth client credentials: Codossier Office asks the service's token address for a token with a client id and secret.
- OAuth sign-in: an administrator signs in once in the browser; Codossier Office keeps the refresh token sealed and saves a new one when it changes.
- Token exchange, JWT assertion, Client certificate (mTLS), HMAC signature, AWS Signature V4: for services that sign in those ways.

5The API key's own fields
With API key chosen, the sign-in fields are:
- Auth Header / Param (needed): the header the service reads the key from, as its documentation names it (X-Api-Key).
- Auth In Query: turn it on if the service wants the key in the address instead of a header.
- Value Prefix: text before the key, if the service asks for one (some want Key or Token ).
- Secret Setting: the key itself. Whatever you type here is sealed onto the connector the moment you save and the field is cleared, so it never sits on the record or in its history. To enter or replace it later, use the key page (step 8).

6OAuth client credentials: the token fields
Pick OAuth client credentials in Auth Type and the form swaps the API key fields for the ones a token needs (shown here without saving):
- Token URL (needed): the address the service gives out tokens from.
- User / Client Id Setting (needed) and Secret Setting (needed): the client id and the client secret the service issued to your office. Like every key field, what you type is sealed onto the connector on save and the field is cleared.
- Scope and Audience: what the token is for, only if the service's documentation asks for them.
- Client Id and Secret as Basic: turn it on if the service wants the id and secret in a Basic header instead of in the request body.
- App registration: or pick an app registered with Microsoft or Google and leave the fields above empty: they come from it.
Each sign-in has its own short set like this one: Basic and Digest take a user and a password, Bearer token only the token, OAuth sign-in adds the service's sign-in address. Changing the sign-in clears the fields that no longer apply when you save.

7Where it calls, and its limits
- Base URL (needed): the service's address. A workflow adds only the path, so https://jsonplaceholder.typicode.com plus /todos/1.
- Allowed Hosts: the only hosts a key may ever be sent to. The host of the Base URL is always allowed, so you may leave it empty or repeat that host, as here. Add a second host only when the service sends you to one (a token server, a file host).
- Allow Private Addresses: off. Turn it on only for a service inside your own network.
- App registration: pick one when this service signs in through an app registered with Microsoft or Google; the sign-in fields you leave empty then come from it.
- Timeout (s) (1 to 300, 30 by default), Max Attempts (1 to 5, 3 by default) and Retry POST / PATCH (off: a call that creates something is not repeated unless you say it is safe).
Press Save (it lights up once something has changed).

8Enter the key on the connector's key page
The key page takes one secret for one connector: the address is /builder/connector-key with the connector after it, and Coin gives you the link when it needs a key. Paste the key the service gave you and press Save. It is sealed with your office's encryption keys and nobody reads it back, not even an administrator: afterwards the box says Saved (hidden). Type to replace it., and Clear it removes it.
To change a key later (a rotated token, a new password), type the new one here: it replaces the old one and nothing else changes.

Part 3. Call it from a workflow, end to end
We build Client portal task status: an HTTP request step that calls the connector, a Compose step that uses the reply, and an End. Then we test the call, publish, run it on a matter and read what came back.
9In the workflow, click + and pick HTTP request
Open Builder → Workflows and make the workflow (how: Build your first workflow). Ours is Client portal task status: it starts On demand on the Matter table, reads one task from the client's portal (here a free public service stands in for the portal) and writes a status line the matter team can paste into a note.
Click the + under the trigger card and pick HTTP request in the Run group: Call another server through a named connection. The step appears on the canvas; click it to open its panel.

10Pick the connector, the method, the path and the answer
Name the step (Read the task from the client portal), then fill its panel from the top:
- Connection: one chip per active connector a workflow may call (the shot keeps only the one chosen). Pick Client portal API. The step stores the connector's key, never a secret. + New connection and Edit open the connector's settings in a small window without leaving the designer.
- Request: the method (GET reads; POST, PUT, PATCH and DELETE change) and the path after the connector's Base URL: /todos/1. Press { } to put a value from an earlier step in the path. + Query parameters and + Headers only if the service asks: the connector signs the call itself.
- The answer is: JSON, so later steps can read its fields one by one, or Text.
- What Codossier Office sends: the full call, built from the connector and the step, with any key masked.

11Press Test and read the reply
Press Test. Codossier Office sends the call once, now, exactly as the step would, signed by the connector, and shows the reply under the button: the status (200 OK) and the body the service sent back. Here the portal answers one task: its id, its title and whether it is completed. Those names are what later steps read.
If it fails, the box turns red and says why: no such connector, a missing key, a host that is not allowed, or the service's own error. A test sends what is written, so put a real value in place of any value from an earlier step first. Only administrators can test.

12If it fails, retry, notes
Open If it fails, retry, notes under the step:
- If it fails: steps that run only when the call fails, drawn as a red path on the canvas. Ours ends the run with a reason, Portal did not answer; without such steps a failed call fails the run. Remove the “if it fails” steps takes them away again.
- Retry: five waits between tries, written as durations: PT1M is one minute, then PT2M, PT4M, PT8M and PT16M, 31 minutes in all. Fill from the first makes them equal, growing or narrowing. Only passing failures are tried again (a timeout, a network error, a busy service), never a refusal. Turn retry off leaves it out. This comes on top of the connector's own Max Attempts (how many times each call is tried); the step's retry waits the times set here before it calls again.
- Grace Retry: one more try if Codossier Office itself was down when the retry was due.
- Notes: why the step is there, for whoever reads it next.

13Compose: use the reply in the next step
Add a Compose step under the HTTP request (+, then Compose in the Flow group), name it Write the status line and keep How on Text. In Text, press { }, pick the HTTP step, then one of its values:
- status: the status number (200).
- ok: true when the call succeeded.
- body: the reply. Add the field after it by hand:
…body.title,…body.completed(next step). - attempts: how many tries it took.

14Finish the line around the values
Close the picker and type the words around the values. Each value lands as {{KEY.value}}, where KEY is the short code on the step's card: our HTTP step's is NKBKWYSS (every step gets its own, so yours differs). For a field of the reply, type its name after body, as in {{KEY.body.title}}. The matter's name comes from the trigger the same way, with { }.
Ours reads, values in brackets: (the matter's name): portal task (body.id), "(body.title)". Done: (body.completed). The portal answered (status). Any later step can use the same values: an Update record to put the line on the matter, a Condition on body.completed, an email.

15Check it and publish it
The badge says Ready when nothing blocks publishing. Publishing also checks the HTTP step's connector: it must exist, be active and be one a workflow may call. Press Publish: only a published workflow runs. To change it later, press To draft, edit, and publish again.

16Run it on a matter
Pick a matter in the box beside Run now (we picked Lease Renewal) and press Run now. The run starts at once, as the workflow's Run As. The HTTP step calls the service for real, so every run is a call outside Codossier Office. To let people start it from the matter, put it on a button: see Dialogues and ribbon buttons.

17Open the run and read the HTTP step's output
Open the Runs tab, click the run, then click the HTTP card. Each step that ran has a green tick. The panel shows what the step did: Status, how many times it Ran, when it started and ended, It took in (the connector, the method and the path, after any values were put in; blanked in this picture) and It gave out: status (200), ok, the parsed body with id, title and completed, its content_type, truncated and attempts. A failed call shows its error here instead, with the service's answer in its detail.

18The next step used the reply
Click the Compose card in the same run. It gave out holds the finished line, with the matter's name and the portal's values in place of each {{…}}. The End step keeps it as the run's output.

Part 4. A person's own connection
19Connector Grants: each person's own sign-in
Most connectors sign in as the office. Some services need each person as themselves: an attorney's own login at a filing service, a person's own Slack or Microsoft account. That link is a connector grant: the connector, the Person, the Subject (which outside account it is) and, when the service sets one, Expires On.
Grants come from the sign-in, not from typing. The person gets a link, signs in to Codossier Office, then signs in to the service; Codossier Office checks it is the account expected and records the grant. Codossier Office refuses an account that belongs to someone else. A grant gives nothing inside Codossier Office: the person still acts with their own access. The Connector Grants list shows every grant.

What next
- Every setting of the HTTP request step, and every other step type: The workflow step reference. A whole workflow, click by click: Build your first workflow.
- Carry a connector to another environment (its shape and the names of its keys, never the key itself): Solutions.
- Courts and agencies that take filings are connectors of the kind Filing service: Set up e-filing.