I don't know if this idea will take but it might be valuable to start an architecture discussion thread. At some point, an AI agent could scrape it and document best practices 😎
In either case, I have a basic question. The screenshot shows a simple workflow that pulls contacts from a Google sheet and emails them based on a user chat prompt.
If the user asks to email a contact whose information is not listed, the agent is already smart enough to ask for the email address but not yet smart enough to save the new information in the contact list.
My question is, where is the best place to make this sort of decision? I could add to the System Message within the AI Agent, but I think that would be prone to error, and possibly bad practice. Is an "if" statement appropriate here? What am I missing?
Any advice is greatly appreciated