The flow
Starts it 1Model 4Logic 6Service 6
The steps in the order they run, from what starts it.
- 1Trigger – Fetch New Facebook Messages (Every Hour)Schedule triggerStarts it
- 2Configure GPT-4o, Message Classification ModelLm Chat Azure Open AiModel
- 3Configure GPT-4o, Product Matching ModelLm Chat Azure Open AiModel
- 4Fetch Facebook Conversation ListFacebook Graph ApiService
- 5AI – Extract Product & Customer IntentAgentModel
- 6AI – Match Requested Product in InventoryAgentModel
- 7Fetch Facebook Conversation MessagesFacebook Graph ApiService
- 8Merge AI Output With Inventory DatasetMergeLogic
- 9Parse AI Product Match JSONCodeLogic
- 10Validate Record StructureIfLogic
- 11Build Combined AI + Inventory Payload (CodeLogic
- 12Check If Product ExistsIfLogic
- 13Extract Latest Facebook MessageCodeLogic
- 14Log Invalid Records to Google SheetGoogle SheetsService
- 15Send Facebook Reply, Product FoundFacebook Graph ApiService
- 16Send Facebook Reply, Product Not FoundFacebook Graph ApiService
- 17Fetch Inventory Records from AirtableAirtableService