Detailed Process of Landbot's Integration with Zapier for Knowledge-Based Retrieval
This detailed examination sheds light on how Landbot leverages Zapier to initiate knowledge-based retrieval functions, focusing on the sequence of operations post the geography component's completion. The interaction between Landbot and Zapier embodies a complex mechanism designed to fetch and utilize information effectively from a knowledge base.
Triggering Zapier
Upon finalizing the geography component within the Landbot interaction, a trigger is sent to Zapier. This step signifies the beginning of a crucial interplay between Zapier's functionalities and the bot's requirements, setting the stage for an advanced data retrieval process.
Interplay and Query Execution
The interaction with Zapier starts with checking the activation status, highlighting the dynamic relationship between collection IDs and categories within the knowledge base. Zapier undertakes the task of querying articles by their category and then by collection, a strategy devised to circumvent the limitation of retrieving a maximum of 100 articles at a time.
Article Retrieval and Cross-Referencing
For categories like eviction, Zapier pulls all pertinent articles under the collection and then filters them by the eviction category. This dual-step retrieval allows for a comprehensive cross-referencing, ensuring a broad spectrum of relevant articles is considered for the next phase of the process.
Utilizing GPT for Article Selection
With articles retrieved, the system employs GPT to simulate a scenario (e.g., being a tenant in Chicago, Cook County), asking a question to guide the selection of articles. GPT, with a creativity temperature set to one, analyzes the articles serving as a "reservoir of truth" to identify and prioritize the top three articles that best match the inquiry's context.
Cleaning Articles and Retrieving Summaries
The subsequent step involves cleaning the article data for GPT results, followed by extracting individual article numbers. A new call is made to Help Scout with the objective of retrieving summaries for these top-selected articles, which will be used directly within the chat interface.
Google Sheets Integration and Data Compilation
After gathering article summaries, Zapier interacts with Google Sheets to log this information in the Rentervention data spreadsheet. This action creates a new row containing article IDs, dates, queries, article names, summaries, and URLs — a comprehensive dataset ready for retrieval by Landbot.
Final Step: Article Information Compilation
The assembled information, now stored in Google Sheets, includes not just the metadata but also the full text of the selected articles. This dataset stands ready for integration into the Landbot conversation flow, illustrating the seamless collaboration between Landbot, Zapier, and external data sources to enhance user experience with tailored knowledge-based responses.