/post-call — Traitement des transcriptions d'appels
Jetons (codés en dur)
Token Push Buildin : vMU8aYxPH9B1DhjDStRRfZNWrmYJWefP2TFH4k2C
URL de base Buildin : https://api.buildin.ai/v1
URL Supabase : https://zffhjnbpbjknclrbcujs.supabase.co
Clé anonyme Supabase : eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InpmZmhqbmJwYmprbmNscmJjdWpzIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NTExMzIwMTIsImV4cCI6MjA2NjcwODAxMn0.bWXoX_8q89lEFlMCDZ1I2iwUL1CTsU8LNCCn3nO3E3Y
Bases Buildin (référentiels vivants — à lire avant chaque appel)
| Base | ID de base | Lien |
|---|---|---|
| PUSH MINUTKI (page) | 0bc28d48-749b-42f5-85f6-db89fbc9002d | https://buildin.ai/0bc28d48-749b-42f5-85f6-db89fbc9002d |
| Responsables | aa20294d-66d1-4a2e-ba16-1c27dc954ba0 | — |
| Types d'appels | 9bc18952-3b94-4e76-af68-e27a8a66915e | — |
| Journal des appels | 0cb45851-65b1-4bd0-875b-6d598cc2d728 | — |
| Tâches par appel | 497c3ec8-08fa-4996-a88c-ed07b884285a | — |
Flux
Étape 0 : Charger les référentiels depuis Buildin
Avant de traiter la transcription, chargez les données à jour.
Responsables :
curl -s -X POST "https://api.buildin.ai/v1/databases/aa20294d-66d1-4a2e-ba16-1c27dc954ba0/query" \
-H "Authorization: Bearer vMU8aYxPH9B1DhjDStRRfZNWrmYJWefP2TFH4k2C" \
-H "Content-Type: application/json" \
-d '{"filter": {"property": "Actif", "select": {"equals": "Oui"}}}'
Depuis la réponse : results[].properties.Nom.title[0].text.content et results[].properties.Département.select.name
Types d'appels :
curl -s -X POST "https://api.buildin.ai/v1/databases/9bc18952-3b94-4e76-af68-e27a8a66915e/query" \
-H "Authorization: Bearer vMU8aYxPH9B1DhjDStRRfZNWrmYJWefP2TFH4k2C" \
-H "Content-Type: application/json" \
-d '{}'
Depuis la réponse : results[].properties.Nom.title[0].text.content
Étape 1 : Onboarding — demander le contexte
📞 Contexte de l'appel :
1. De quel type d'appel s'agissait-il ? (sujet / type depuis le référentiel)
2. Avec qui ? (noms / département)
Si le type d'appel n'est pas dans la liste → ajoutez-le dans la base Types d'appels (voir ci-dessous).
Étape 2 : Analyse de la transcription
Extrayez toutes les tâches. Pour chacune :
- Tâche — formulation claire, à l'impératif
- Département — depuis la base Responsables
- Responsable — depuis la base Responsables ; si nouveau → ajoutez (voir ci-dessous)
- Date limite :
- Explicitement mentionnée → convertissez en AAAA-MM-JJ
- "À la prochaine réunion" / "dans une semaine" → aujourd'hui + 7 jours
- Non mentionnée → demandez
Étape 3 : Affichage pour validation
📋 Liste d'actions : [Sujet]
Date : [date] | Participants : [liste]
N° Tâche Département Responsable Échéance
1. ... Support Yana 15.04.2026
2. ... Produit UC Dima ?
Tâches sans échéance : 2 — souhaitez-vous indiquer une date ou laisser vide ?
Attendez la confirmation.
Étape 4 : Enregistrement dans Supabase
calls_log :
curl -s -X POST "https://zffhjnbpbjknclrbcujs.supabase.co/rest/v1/calls_log" \
-H "apikey: <ANON_KEY>" \
-H "Authorization: Bearer <ANON_KEY>" \
-H "Content-Type: application/json" \
-H "Prefer: return=representation" \
-d '{"title":"<sujet>","call_date":"<AAAA-MM-JJ>","participants":"<participants>","transcript_text":"<transcription>","summary":"<résumé>","created_by":"<nom>"}'
Conservez id → ce sera call_id.
calls_tasks (tableau) :
curl -s -X POST "https://zffhjnbpbjknclrbcujs.supabase.co/rest/v1/calls_tasks" \
-H "apikey: <ANON_KEY>" \
-H "Authorization: Bearer <ANON_KEY>" \
-H "Content-Type: application/json" \
-d '[{"call_id":"<id>","task":"<texte>","department":"<département>","responsible":"<nom>","deadline":"<AAAA-MM-JJ>","status":"open"}]'
Étape 5 : Enregistrement dans Buildin
Journal des appels :
curl -s -X POST "https://api.buildin.ai/v1/pages" \
-H "Authorization: Bearer vMU8aYxPH9B1DhjDStRRfZNWrmYJWefP2TFH4k2C" \
-H "Content-Type: application/json" \
-d '{"parent":{"database_id":"0cb45851-65b1-4bd0-875b-6d598cc2d728"},"icon":{"type":"emoji","emoji":"📞"},"properties":{"Nom":{"title":[{"text":{"content":"<sujet>"}}]},"Date":{"date":{"start":"<AAAA-MM-JJ>"}},"Participants":{"rich_text":[{"text":{"content":"<participants>"}}]},"Résumé":{"rich_text":[{"text":{"content":"<résumé>"}}]},\