Skip to content
📢 Kafinea is a compatible solution for electronic invoicing! Learn more ➔
kafinea logo svg

Kafinea

  • Features
        • Finance
          • Accounting
          • Audits & KPIs
          • Invoicing
          • Purchases
        • Management
          • Documents
          • Inventory Management
          • Maintenance
          • Project Management
        • HR
          • Absence Management
          • Employees
          • Recruitment
          • Timesheets
        • Customer Service
          • Interventions
          • Service Contracts
          • Tickets
          • Warranty Tracking
        • Sales
          • CRM
          • Points of Sale
          • Sales Automation
          • Subscriptions
        • Cross-Features
          • API
          • Extranet
          • Electronic Signature
          • Workflows
  • Pricing
  • Login
  • Discover the demo
📢 Kafinea is electronic invoicing compatible! ➔
kafinea logo svg
Kafinea

Marketing

1
  • Leads

Sales

14
  • Customer purchase orders
  • Customer accounts
  • Customer Quotes
  • Customer credit notes
  • Company Search (Sirene)
  • Margins in quotes
  • Invoicing
    • Classic Invoicing
    • Progress Invoicing
    • Issue an electronic invoice
    • Recurring invoicing
    • Invoicing Article Consumption
  • Payments
    • Customer payments
    • Linking a payment to one or more invoices
  • Price list
    • Price list administrator guide

Purchases

5
  • Supplier invoices
  • Supplier Purchase Orders
  • Suppliers
  • Supplier Credits
  • Receiving an Electronic Invoice

Catalog

8
  • Units of measure
  • Products
  • Services
  • Sourcing Management
  • The Purchase Order Assistant
  • Generic products
  • Product kits
  • Catalog margin analysis

Finance

11
  • Bank Accounts
  • Manual entries
  • SEPA Mandates
  • Third-party bank accounts
  • Bank Transactions
  • Accounting
    • Accounting entries
    • Tools for Checking Your Accounting
    • Accounting
    • Financial statements
  • Fiscal years
    • Cash accounting
    • Fiscal years

Human Resources

5
  • Timesheets
  • Activities
  • Pay Slips
  • Employee Extranet
    • Leave Management
    • The employee portal card

Project management

2
  • Secure assignments using a people list
  • The responder area: view and accept my assignments

Customer Support

1
  • The Client Portal

Inventory management

4
  • Goods receipt notes
  • Delivery Notes
  • Stock movements
  • Inventory Valuation

Cash register

1
  • Cash Registers

Document management

3
  • Electronic signature
  • Templates
    • Email templates
    • Document templates

Automation

2
  • Forms
  • Workflows

Artificial intelligence

5
  • AI-assisted invoice OCR
  • Connect an External AI (MCP)
  • AI Chat
  • The AI Text Assistant
  • AI Workflows

Kafinea interface

8
  • Data Import/Export
  • Navigation
  • Lists
  • Records
  • The Layout Manager
  • Automatic saving
  • Document Lines
  • Links Between Elements

Settings

10
  • SMTP Settings
  • Access Rights
  • Numbering formats
  • Global search
  • User preferences
  • Permanent locking
  • Catalog popup filtering
  • Tax Configuration
  • The MCP Server
  • AI agents

Business Guides

2
  • Enable employees to complete their HR record independently
  • Mobilizing thousands of field workers at scale

API

7
  • REST API – Introduction
  • REST API – Entity Relationships
  • REST API – File Management
  • REST API – Requests and Querying
  • REST API – Drop-down lists (Picklist)
  • REST API – CRUD Operations
  • REST API – Authentication
  • Kafinea
  • Documentation
  • Artificial intelligence
  • AI Workflows
View Categories

AI Workflows

1 minutes


Introduction #

AI workflows enable the automation of intelligent processing on Kafinea records. By adding an AI Prompt task to a workflow, you can have data automatically analyzed, summarized, translated, or classified by an artificial intelligence model.


1. Create a workflow with an AI task #

  1. Access Settings > Automation and Communication > Workflows
  2. Create a new workflow or edit an existing one
  3. Choose the target module (Contacts, Invoices, Quotes, etc.)
  4. Define the trigger conditions
  5. Add an AI Prompt task

2. Configure the AI Prompt task #

The AI Prompt task consists of two parts:

The prompt (instruction) #

This is the textual instruction sent to the AI model. You can include module variables to customize the request.

Prompt example:

Résume en 2 phrases le contenu de la description suivante : $description
Classifie le niveau d'urgence du ticket parmi : faible, moyen, élevé, critique.

The return field mapping #

For each field the AI needs to fill, you configure:

  • The target field: the record field to update
  • The specific instruction: what the AI should generate for this field

Important: The AI’s response is expected in JSON format with field names as keys. The system automatically handles extraction even if the response contains text around the JSON.


3. Contextual data transmitted to the AI #

The AI task automatically transmits the following to the model:

Data Description
Record data All fields of the current record
Parent records Data from linked records (contact, account, etc.)
Module descriptions Field names and types, picklist values
Detail lines For inventory-type modules (invoices, quotes, orders)
Organization data Company information linked to the record
Document content If the module is Documents, the content of the attached file

4. Usage examples #

Automatic ticket summary #

  • Module: HelpDesk
  • Trigger: On creation
  • Prompt: “Summarize this support ticket in one concise sentence.”
  • Target field: cf_summary ← instruction: “A sentence summarizing the issue”

Contact classification #

  • Module: Contacts
  • Trigger: On save
  • Prompt: “Analyze this contact’s information and suggest a business segment.”
  • Target field: cf_segment ← instruction: “The segment from: SMB, Mid-Market, Large Enterprise, Individual”

Product description translation #

  • Module: Products
  • Trigger: On save
  • Prompt: “Translate the product description into English.”
  • Target field: cf_description_en ← instruction: “The English translation of the description”

5. Error management #

If the AI does not return a valid response, the workflow continues without updating the fields. Errors are logged in the server logs:

  • Missing API key: check the AI gateway configuration
  • Empty response: the prompt may be too vague or the data insufficient
  • JSON parsing error: the system automatically attempts several extraction strategies

Tip: Consult the PHP logs (error_log) to diagnose AI workflow execution issues.


6. Limitations #

  • The prompt size is limited by the AI model used (generally 4,096 response tokens max).
  • Large image files or very long documents may be truncated.
  • The workflow runs synchronously: a slow AI call can slow down processing.

Related References #

  • The scheduler
  • AI Chat
  • AI Text Assistant
  • Connect an External AI (MCP)
  • AI-Assisted Invoice OCR
  • AI agents
Index
  • Introduction
  • 1. Create a workflow with an AI task
  • 2. Configure the AI Prompt task
    • The prompt (instruction)
    • The return field mapping
  • 3. Contextual data transmitted to the AI
  • 4. Usage examples
    • Automatic ticket summary
    • Contact classification
    • Product description translation
  • 5. Error management
  • 6. Limitations
  • Related References

An all-in-one software designed for SMEs. Take advantage of the automation capabilities and flexibility of our business management platform to make work easier for all your employees.

RESOURCES

Blog
Brand Guidelines
Distributors
Help
Security

Customer portal
ABOUT

About Us
Contact Us
Cookie Policy
FAQ
Legal Notice
Privacy Policy
Terms of Service

Electronic invoicing compatible solution
French Tech Grand Paris Logo
FINANCE

Accounting
Audits & KPIs
Invoicing
Purchases

MANAGEMENT

Documents
Inventory Management
Maintenance
Project Management

HR

Absence Management
Employees
Recruitment
Timesheets

CUSTOMER SERVICE

Interventions
Service Contracts
Tickets
Warranty Tracking

SALES

CRM
Points of Sale
Sales Automation
Subscriptions

© 2026 Madiasoft - Kafinea

24 rue Louis Blanc, 75010 PARIS, France

+33 1 70 06 05 41

Facebook Linkedin
kafinea logo svg
Gérer le consentement aux cookies
Pour offrir les meilleures expériences, nous utilisons des cookies pour stocker et/ou accéder aux informations des appareils. Le fait de consentir à ces cookies nous permettra de traiter des données telles que le comportement de navigation ou les ID uniques sur ce site. Le fait de ne pas consentir ou de retirer son consentement peut avoir un effet négatif sur certaines caractéristiques et fonctions.
Fonctionnel Always active
Le stockage ou l’accès technique est strictement nécessaire dans la finalité d’intérêt légitime de permettre l’utilisation d’un service spécifique explicitement demandé par l’abonné ou l’internaute, ou dans le seul but d’effectuer la transmission d’une communication sur un réseau de communications électroniques.
Préférences
Le stockage ou l’accès technique est nécessaire dans la finalité d’intérêt légitime de stocker des préférences qui ne sont pas demandées par l’abonné ou la personne utilisant le service.
Statistiques
Le stockage ou l’accès technique qui est utilisé exclusivement à des fins statistiques. Le stockage ou l’accès technique qui est utilisé exclusivement dans des finalités statistiques anonymes. En l’absence d’une assignation à comparaître, d’une conformité volontaire de la part de votre fournisseur d’accès à internet ou d’enregistrements supplémentaires provenant d’une tierce partie, les informations stockées ou extraites à cette seule fin ne peuvent généralement pas être utilisées pour vous identifier.
Marketing
Le stockage ou l’accès technique est nécessaire pour créer des profils d’internautes afin d’envoyer des publicités, ou pour suivre l’internaute sur un site web ou sur plusieurs sites web ayant des finalités marketing similaires.
  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
Voir les préférences
  • {title}
  • {title}
  • {title}
  • Features
    • Finance
      • Accounting
      • Audits & KPIs
      • Invoicing
      • Purchases
    • Management
      • Documents
      • Interventions
      • Inventory Management
      • Project Management
    • HR
      • Absence Management
      • Employees
      • Recruitment
      • Timesheets
    • Customer Service
      • Maintenance
      • Service Contracts
      • Tickets
      • Warranty Tracking
    • Sales
      • CRM
      • Points of Sale
      • Sales Automation
      • Subscriptions
    • Cross-Features
      • API
      • Electronic Signature
      • Extranet
      • Workflows
  • Pricing
  • Login
  • Discover the demo