GoWeBaKnowledge Center

title: "Addendum 16 — Office 365 — Word + Excel Integration" date: "2026-09-01" author: "GoWeBa Platform Team" tags: ["office365", "word", "excel", "microsoft", "graph-api", "productivity"]

Addendum 16 — Office 365 — Word + Excel Integration

Overview

GoWeBa now integrates Microsoft Word and Microsoft Excel directly into your platform. Create, edit, and manage your Office documents from your CRM — without ever leaving GoWeBa.

CSP Resale Model: GoWeBa provides Microsoft 365 licenses through its Cloud Solution Provider (CSP) program, with unified billing integrated into your subscription plans.

Architecture

GoWeBa User
       │
       ▼  (OAuth2 Authorization Code)
┌──────────────────┐
│  M365 Connection  │  ← /api/v1/office365/connect
└────────┬─────────┘
         │
         ▼
┌──────────────────┐
│  Microsoft Graph  │  ← Microsoft REST API
│      API          │
└────────┬─────────┘
         │
         ▼
┌──────────────────┐
│  OneDrive / SPO   │  ← File Storage
└──────────────────┘

Word Features

Available Operations

EndpointDescription
POST /word/createCreate a new Word document
GET /word/listList all Word documents
GET /word/:fileId/contentDownload document content
PUT /word/:fileId/contentUpdate document content
DELETE /word/:fileIdDelete a document
POST /word/:fileId/convert-pdfConvert Word to PDF

Use Cases

  • Quotes & proposals — Generate a pre-filled Word document with deal data
  • Contracts — Create and edit contracts linked to your contacts
  • Reports — Export your CRM data into a formatted Word document
  • PDF Conversion — Instantly transform your documents to PDF for delivery

Excel Features

Available Operations

EndpointDescription
POST /excel/createCreate a new Excel workbook
GET /excel/listList all Excel workbooks
GET /excel/:fileId/worksheetsList worksheets in a workbook
GET /excel/:fileId/worksheets/:sheetName/rangeRead a cell range
PATCH /excel/:fileId/worksheets/:sheetName/rangeWrite to a cell range
DELETE /excel/:fileIdDelete a workbook

Use Cases

  • Dashboards — Export your KPIs to a shareable Excel file
  • Data Import/Export — Sync your contacts and deals with Excel
  • Budgets — Manage your budgets directly from the platform
  • Analytics — Create spreadsheets with your pipeline data

Connection & Authentication

OAuth2 Flow

  1. User clicks "Connect Office 365" in GoWeBa
  2. Redirect to Microsoft login page
  3. User authorizes access to their files
  4. Automatic redirect back to GoWeBa with secure tokens
  5. Tokens are encrypted at rest (AES-256) in the database

Security

  • Delegated authentication: each user connects their own Microsoft account
  • Encrypted tokens: access_token and refresh_token stored with AES-256 encryption
  • Automatic renewal: expired tokens are refreshed transparently
  • Revocation: disconnect at any time via /api/v1/office365/disconnect

File Tracking

Tracked Files

GoWeBa maintains a registry of files linked to your organization:

EndpointDescription
GET /tracked-filesList tracked files
POST /tracked-files/:fileId/trackTrack a file
DELETE /tracked-files/:fileId/untrackUntrack a file

This creates a bidirectional link between your Office documents and CRM entities (contacts, deals, organizations).

Azure Prerequisites

Note for administrators: the Azure AD app registration must have the following Microsoft Graph permissions enabled:

  • Files.ReadWrite (delegated)
  • User.Read (delegated)

Users must have a Microsoft 365 Business Basic (or higher) license to access OneDrive for Business.

Next Steps

  • Pre-configured Word templates for quotes/contracts
  • Automatic Excel ↔ CRM Pipeline sync
  • Real-time collaboration on shared documents

© 2024–2026 GOWEBA INC. — Make it Simple, Make it Possible, Make it Real.