Connecting a Data Source
Wire Gmail, Slack, CRM, Calendar, or Linear into the Agent Workspace so external events become drafted tasks.
Connectors are how the workspace stays plugged into the rest of your stack. This guide walks through connecting the most common sources and verifying events are arriving.
You only need to do this once per source per workspace. Triggers built on top of a connector are authored separately — see Configuring Triggers.
Before You Start
Make sure you have:
- The Agent Workspace installed and signed in
- Admin or author role in the workspace
- Credentials or OAuth access to the source system you want to connect
Connecting Gmail
- Open the workspace → Settings → Connectors → Add Connector.
- Pick Gmail.
- Click Authorize. You'll be redirected to Google's OAuth screen — confirm the scopes (read messages, send on your behalf if you'll use the Outbox to send replies).
- Back in the workspace, pick which labels or folders the connector should watch.
- Click Save.
The connector starts watching immediately. New matching emails will flow as events to any trigger that listens for them.
Connecting Slack
- Settings → Connectors → Add Connector → Slack.
- Authorize the Headways Slack app for your workspace. Your Slack admin may need to approve it first.
- Pick which channels the connector should listen to. Add specific event filters (mentions, DMs, messages matching a phrase, reactions).
- Save.
The connector emits Slack events to triggers. Outbound messages drafted by Skills land in the Outbox under the connecting user's authority.
Connecting a CRM (HubSpot or Salesforce)
- Settings → Connectors → Add Connector → HubSpot or Salesforce.
- Sign in to your CRM via OAuth.
- Configure which object types to watch (deals, contacts, custom objects) and which property changes count as events.
- Save.
Common patterns: deal stage changes, contact creation, custom property updates that signal renewal risk or upsell opportunity.
Connecting Calendar
- Settings → Connectors → Add Connector → Google Calendar or Microsoft 365.
- OAuth into the calendar account.
- Pick which calendars to watch. Configure event types: scheduled meetings, meetings starting soon, transcripts ready (if your meeting platform integrates).
- Save.
Connecting Linear
- Settings → Connectors → Add Connector → Linear.
- Connect via Linear's OAuth flow.
- Pick teams to watch. Configure issue events: created, assigned to me, status changed, commented.
- Save.
Verifying It Works
After saving any connector, trigger a real event in the source system (send yourself an email, post in a watched channel, change a deal stage). Within seconds:
- The event appears in Settings → Connectors → connector detail → Recent Events.
- If you have a trigger authored that matches, the resulting Skill run appears in your Inbox.
If you see the event but no Inbox item, the trigger isn't matching — check your filter conditions. If you see no event at all, recheck the connector's filter rules (labels, channels, object types).
Permissions and Scope
Connectors authenticate as you — the user who connected them. Skills drafted on top of those events run under your authority. That's deliberate: it preserves the owner-direct write model.
For shared / team-level connectors, your org admin can configure a service account. See Workspace Setup for the admin flow.
Related
- Connectors concept — the model behind events and triggers
- Configuring Triggers — the next step after a connector is wired
- Agent Workspace — where the resulting tasks land
- Reviewing the Outbox — owner review for outbound writes