AI assistants (Claude, ChatGPT)
Connect Claude or ChatGPT to AFASIN Pro and ask about your shop in plain words: "what is running out this week?", "prepare my order for the wholesaler", "what did I sell on Saturday?", "put the 5 kg rice at 12.50". The assistant uses your own subscription; AFASIN Pro is its source of information (an MCP server).
Connect an assistant
- Copy the address shown in Settings → General Settings → AI Assistants.
- Claude: Settings → Connectors → Add custom connector, paste the address, then Connect. ChatGPT: Settings → Apps & Connectors → Advanced settings → Developer mode, then create a connector with the address and OAuth authentication.
- AFASIN Pro opens: sign in and click Allow.
What the assistant can do
- Read: catalog totals (number of products, units and stock value per origin, warehouse and category, price problems), products and stock per warehouse, sales of a period per channel and best sellers, products that do not sell, stock alerts, reorder suggestions, suppliers.
- Change, after you confirm in the conversation: everything your role allows in AFASIN Pro. For example create or edit a product, change a price, adjust or transfer stock, prepare a purchase order and mark it received, manage suppliers and customers, make an invoice or a quotation, handle an online order, create a promotion or a coupon, record an expense. The assistant goes through the same checks as the screens.
- Never: sell, refund or close the cash register (NF525), touch payment accounts and terminals, gift cards, bank details, payroll, users, roles and security, or do more than your role allows.
MCP Super Admin: the Pro blog
Signed in with the Super Admin account, the same address connects the MCP Super Admin, an assistant that only writes the public Pro blog (pro.afasin.com/fr/blog, English at /blog). It never sees the shops' data. Ask for example “write an article about margins for a grocery shop, in French and English, and publish it”: the assistant creates a draft, then publishes it. An article has an English page only when it has an English title. A published article can be taken offline at any time; only drafts can be deleted. Every change is listed on the AI Assistants page of the Super Admin account. Pictures: upload your photos to the Media Library and ask the assistant to use them, or give it the https:// address of a picture you may publish; it stores a copy under /uploads/blog/. The same articles are listed and edited in CMS → Blog. Each article has one category and a few tags (Blog Categories, Blog Tags; the assistant creates them when needed); on the public blog they are shown on the articles and filter the list. Renaming or deleting a tag updates the articles. In the article form, the cover is uploaded from your computer, chosen from the Media Library or given as a link.
Article editor. In CMS → Blog, click a card (or Add Blog) to open the editor, as in WordPress: title, address, text with headings, lists and links, and Add media to insert a Media Library picture where the cursor is (with its alternative text and caption). The French / English tabs hold the two versions. The right column publishes or saves a draft, and sets the category, the tags (type a new one and press Enter), the cover and the author. The excerpt is also the description for search engines. View on a card, or View article in the editor, opens the public page of a published article.
Public home page. pro.afasin.com shows a home page for shopkeepers: the promise and the two actions (create an account, see the wholesalers' products), live figures (wholesale products, wholesalers followed, products compared, free lessons), the "What do you want to do today?" tabs (take payments, manage the stock, buy for less, sell online) with example screens, the other modules, a preview of the marketplace by aisle (no prices nor supplier names), the three steps of the sign-up, the association, the Academy courses and blog articles, and the frequent questions. French browsers get the French page (/fr); the English one is at /. Every public page (marketplace, Academy, blog, privacy) shares the template's header, with the sign-up button and, on phones, a menu button, and the template's footer. A click on an aisle or a product of the home page opens the marketplace on it.
Legal pages. Terms of use, legal notice and privacy policy (with the cookies used), in English and French (/fr/…), linked in the footer and in the sitemap. The sign-up form asks to accept the terms and the privacy policy; each new account records the version of the terms it accepted and when (users.terms_version, terms_accepted_at). When the terms change, update TERMS_VERSION in src/lib/legal.ts and the date on the page, and tell the members 30 days before an important change.
Supplier prices. The MCP Super Admin also fills the price comparator: supplier_list gives the suppliers followed, supplier_prices_save adds the prices read from their price lists, catalogues or websites (real prices only, with the pack and the date). For example: “here is the price list of Miamland, add the prices”. With a link to the product page, the price is then read again every day.
