Go to content
kafinea logo svg

Kafinea

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

Marketing

6
  • Prospects
  • The business
  • Sending emails and SMS
  • Campaigns
    • Marketing campaigns
    • Setting up email and SMS campaigns
    • Calculating forecast margins for a campaign

Sales

15
  • Customer accounts
  • Contacts
  • Customer quotations
  • Customer purchase orders
  • Customer credit notes
  • Company Search (SIRENE)
  • Invoicing
    • Classic invoicing
    • Advancement invoicing
    • Item consumption invoicing
    • Electronic invoicing
  • Payments
    • Customer payments
    • Associating a payment with one or more invoices
  • Price list
    • The use of a price list
    • Pricing strategies
    • Administrator's Guide to Pricing

Purchasing

5
  • Suppliers
  • Supplier purchase orders
  • Supplier invoices
  • Supplier credit notes
  • Supplier payments

Catalog

6
  • The products
  • Services
  • Product families
  • Units of measurement
  • Sourcing Management
  • The Supplier Order Assistant

Finance

18
  • Bank accounts
  • Third-party bank accounts
  • Banking transactions
  • SEPA mandates
  • Direct debits
  • Manual entries
  • Accounting
    • Accounting
    • Accounting entries
    • Accounting strategies
    • Financial statements
    • Bank reconciliations
    • Bank statements
    • Tools for checking your accounts
    • Setting up VAT returns
    • VAT declaration
    • Accounting export in FEC format
  • Accounting periods
    • Accounting periods
    • Cash accounting

Human Resources

16
  • The people
  • Services
  • The activities
  • Service assignments
  • Timesheets
  • Leave requests
  • Types of absence
  • Expense reports
  • Training courses
  • Workplaces
  • Versatility matrices
  • Sample employment contracts
  • Pay stubs
  • Employee Extranet
    • The employee portal
    • The Employee Portal
    • Leave Management

Project Management

4
  • The projects
  • Project tasks
  • Project milestones
  • Participation in projects

Customer support

7
  • Tickets
  • Service contracts
  • Customer equipment
  • Customer instances
  • Warranty Management
  • FAQs
  • Customer portal

Maintenance

4
  • Our facilities
  • Maintenance sites
  • The equipment
  • Maintenance operations

Inventory Management

8
  • Storage sites
  • Storage locations
  • Inventory movements
  • Stock transfer requests
  • Delivery notes
  • Receipt slips
  • Delivery methods
  • Inventory Valuation

Points of Sale

5
  • Physical sales outlets
  • E-commerce stores
  • Cash movements
  • Cash register
    • Cash registers
    • Setting up your cash register

Records Management

6
  • Electronic document management
  • The electronic signature
  • Sending documents by email
  • Models
    • Document templates
    • Email templates
    • Shortcodes

Automation

3
  • The forms
  • Workflows
  • The planner

Artificial Intelligence

5
  • The AI text assistant
  • The AI Chatbot
  • AI workflows
  • Connect an external AI (MCP)
  • AI-powered invoice OCR

Integrations

7
  • API
    • REST API – Introduction
    • REST API – Authentication
    • REST API – CRUD Operations
    • REST API – Entity Relationships
    • REST API – Requests and Queries
    • REST API – File Management
    • REST API – Dropdown Lists (Picklists)

Kafinea interface

8
  • Navigation
  • Listings
  • The recordings
  • Tags
  • Reports
  • Dashboards
  • The layout manager
  • Data import/export

Setting

16
  • Tax Settings
  • The companies
  • The users
  • Access rights
  • User preferences
  • Languages and translations
  • Numbering formats
  • SMTP settings
  • Global search
  • Pop-up blocking
  • Permanent locking
  • The Event Log
  • AI agents
  • The MCP server
  • Data mapping
    • Lead conversion mapping
    • Project business mapping

Career Guides

1
  • Allow employees to update their HR records on their own
  • Kafinea
  • Documentation
  • Artificial Intelligence
  • AI workflows
View Categories

AI workflows

3 minutes


Introduction #

AI workflows enable you to automate intelligent processing of Kafinea records. By adding an AI Prompt task to a workflow, you can have an AI model automatically analyze, summarize, translate, or classify data.


1. Create a workflow with an AI task #

  1. Go to Settings > Automation and Communication > Workflows
  2. Create a new workflow or edit an existing workflow
  3. Select 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 ( #)

This is the text prompt sent to the AI model. You can include variables from the module to customize the query.

Example prompt:

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

Mapping of return fields #

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

  • Target field: the field in the record to be updated
  • Specific instructions: what the AI should generate for this field

Important: The AI response must be in JSON format, with field names as keys. The system automatically extracts the data even if the response contains text surrounding the JSON.


3. Contextual data provided to the AI #

The AI task automatically sends the following to the model:

Data Description
Recording data All fields in the current record
Parent records Data from related records (contact, account, etc.)
Module Descriptions Field names and types, selection list values
Detail lines For inventory-related modules (invoices, quotes, purchase orders)
Organization details Company information related to the registration
Document content If the module is "Documents," the contents of the attached file

4. Examples of use #

Automatic ticket summary #

  • Module: HelpDesk
  • Trigger: At creation
  • Prompt: "Summarize this support ticket in one concise sentence."
  • Target area : cf_summary ← Instructions: “A sentence summarizing the problem”

Contact Classification #

  • Module: Contacts
  • Trigger: On save
  • Prompt: "Analyze this contact's information and suggest a sales segment."
  • Target area : cf_segment ← instruction: "The segment among: SMEs, mid-sized companies, large enterprises, and individuals"

Product description translation #

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

5. Error Handling #

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

  • API key missing: Check the AI gateway configuration
  • No response: the prompt may be too vague or the data may be insufficient
  • JSON parsing error: the system automatically tries several parsing strategies

Tip: Check the PHP logs (error_log) to diagnose issues with the execution of AI workflows.


6. Limits #

  • The prompt length is limited by the AI model used (typically a maximum of 4,096 response tokens).
  • 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 planner
  • The AI Chatbot
  • The AI text assistant
  • Connect an external AI (MCP)
  • AI-powered invoice OCR
  • AI agents
Index
  • Introduction
  • 1. Create a workflow with an AI task
  • 2. Configure the AI Prompt task
    • The prompt (instruction)
    • Mapping of return fields
  • 3. Contextual data provided to the AI
  • 4. Examples of use
    • Automatic ticket summary
    • Contact Classification
    • Product description translation
  • 5. Error Handling
  • 6. Limitations
  • Related references

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

RESOURCES

Blog
Corporate identity
Distributors
Documentation
Security

Customer portal
ABOUT US

About Us
Contact Us
Cookie Policy
Frequently Asked Questions
General Terms of Use
Privacy Policy
Terms & Conditions

FINANCES

Accounting
Audits & KPIs
Invoicing
Purchasing

MANAGEMENT

Documents
Project management
Inventory management
Maintenance

HR

Absence Management
Employees
Recruitment
Timesheets

CUSTOMER SERVICE

Service contracts
Service
Warranty tracking
Tickets

SALES

CRM
Point of Sale
Sales Automation
Subscriptions

© 2026 Madiasoft -Kafinea

24 rue Louis Blanc, 75010 PARIS, France

01 70 06 05 41

Facebook Linkedin
kafinea logo svg
Manage cookie consent
To provide the best experiences, we use cookies to store and/or access device information. Consenting to these cookies will allow us to process data such as browsing behavior or unique IDs on this site. Failure to consent or withdrawal of consent may adversely affect certain features and functions.
Functional Always on
Storage or technical access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or Internet user, or for the sole purpose of transmitting a communication over an electronic communications network.
Preferences
Storage or technical access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or person using the service.
Statistics
Storage or technical access used exclusively for statistical purposes. Storage or technical access that is used exclusively for anonymous statistical purposes. In the absence of a subpoena, voluntary compliance by your Internet service provider or additional third-party records, information stored or retrieved for this sole purpose generally cannot be used to identify you.
Marketing
Storage or technical access is necessary to create profiles of Internet users in order to send advertisements, or to track the Internet user on a website or on several websites with similar marketing purposes.
  • Manage options
  • Manage services
  • Manage {vendor_count} suppliers
  • Find out more about these purposes
View preferences
  • {title}
  • {title}
  • {title}
  • Features
    • Finance
      • Purchasing
      • Audits & KPIs
      • Accounting
      • Invoicing
    • Management
      • Documents
      • Interventions
      • Project Management
      • Inventory Management
    • HR
      • Employees
      • Timesheets
      • Absence Management
      • Recruitment
    • Customer Service
      • Service Contracts
      • Warranty Management
      • Maintenance
      • Tickets
    • Sales
      • Subscriptions
      • Sales Automation
      • CRM
      • Points of Sale
    • Cross-features
      • API
      • Extranet
      • Electronic Signature
      • Workflows
  • Pricing
  • Login
  • Discover the demo