ServiceFlow Pro Docs
AI & Automation

OpenAI Setup Guide

Enable OpenAI under Settings → Integrations for AI features.
4 min read

OpenAI Setup Guide

Overview

Enable AI features—estimate line suggestions, entity insights, dashboard chat, Meta/Yelp AI replies—by connecting OpenAI under Settings → Integrations. Admin-only configuration.

How to access

Settings → Integrations → OpenAI (/settings/integrations)

What you can do today

Prerequisites

  • Admin or settings-integrations permission.
  • OpenAI account and API key from platform.openai.com.
  • Organization policy allowing third-party API use with customer/job data.

Step-by-step

Connect OpenAI

  1. Sign in as admin.
  2. Settings → IntegrationsOpenAI.
  3. Turn Enable OpenAI on.
  4. Paste API key.
  5. Click Test → confirm success.
  6. Save.

Verify on an estimate

  1. Estimates → New (/estimates/new).
  2. Select customer and enter a detailed job description (at least 12 characters).
  3. Scroll to Pricing & line itemsAI Assistant panel.
  4. Suggested line items and form fields should appear within a few seconds.
  5. If the line table is empty, suggestions auto-apply; otherwise expand Suggested items and click Apply suggestions.
If nothing useful appears:
  • Confirm Enable OpenAI is on and Test succeeded.
  • Description is not empty and meets the minimum length.
  • Price book has matchable item names for the scope you described.
  • Wait ~30 seconds if you just triggered a draft—API rate limit cooldown may apply.
  • Check the panel badge: price book rules means OpenAI failed or is off and local fallback ran.

Verify entity insights

  1. Open a customer, job, estimate, or invoice detail page.
  2. Find AI Insights card → should load tips or AI bullets when configured.

Troubleshooting

SymptomWhat to check
Panel says connect OpenAIEnable integration and save a valid API key
Empty suggestionsDescription too short; price book empty or no keyword matches
Only generic itemsAdd clearer price book names/categories; try @pricebook mentions
Suggestions stop after first run30s cooldown—wait and click Generate from description
Wrong customer name in titleUse @customer mention or pick customer in Step 1
Edit estimate has different AIFull AI Assistant is on New builder only—see AI-Assisted Estimating

Current limitations

  • Config-gated — features show “connect OpenAI” placeholders when off (estimate builder still has rules fallback).
  • Billing and rate limits are on your OpenAI account—monitor usage dashboard.
  • Model selection may be fixed per environment—not all GPT versions exposed in UI.
  • Data sent to OpenAI follows your estimate/entity context—review OpenAI data policies.

Roadmap

  • Per-feature toggles (estimates vs insights vs chat).
  • Azure OpenAI enterprise endpoint option.
  • Spend caps and usage report inside ServiceFlow admin.

Related features

Security notes

  • Restrict settings access to trusted admins.
  • Use org API keys with spend limits in OpenAI.
  • Rotate keys immediately if compromised; disable integration until updated.