The flow
Starts it 1Model 6Logic 8Service 5
The steps in the order they run, from what starts it.
- 1Trigger – New Facebook Messenger MessageFacebook triggerStarts it
- 2OpenAI Model, Intent ExtractionLm Chat Open AiModel
- 3Structured Output Parser, IntentOutput Parser StructuredModel
- 4OpenAI Model, Product MatchingLm Chat Open AiModel
- 5Structured Output Parser, Product MatchOutput Parser StructuredModel
- 6Split Out Facebook Page EntriesSplit OutLogic
- 7AI – Extract Product & Customer IntentAgentModel
- 8AI – Match Requested Product in InventoryAgentModel
- 9Split Out Messenger EventsSplit OutLogic
- 10Combine Intent + Inventory DataMergeLogic
- 11Check If Product ExistsIfLogic
- 12Check Valid Customer MessageIfLogic
- 13Prepare Product Matching PayloadSetLogic
- 14Send Facebook Reply, Product FoundFacebook Graph ApiService
- 15Send Facebook Reply, Product Not FoundFacebook Graph ApiService
- 16ConfigurationSetLogic
- 17Log Skipped Event to Google SheetsGoogle SheetsService
- 18Log Conversation to Google SheetsGoogle SheetsService
- 19Fetch Inventory Records from Google SheetsGoogle SheetsService
- 20Aggregate Inventory Into Single ListAggregateLogic