AskReference
ProcessIntermediate

What are the steps to reuse the Gmail component as a tool for sending emails in a Langflow agent?

Add the Gmail component to your Langflow flow, add the Composio API key, enable Tool Mode, and select Send Email as the only action permitted by the tool. This makes the Gmail component act directly as a tool that the agent can call for sending emails.

Key points

  • Add the Gmail component to the flow.
  • Add the Composio API key to the Gmail component.
  • Enable Tool Mode on the Gmail component.
  • Select Send Email as the only action permitted by the tool.
  • This Gmail tool connects directly to the agent without needing an MCP server.
Source:AI Agents and Applications· Deploying and orchestrating GenAI apps· p. 242–257
Cover of AI Agents and Applications

AI Agents and Applications

Andrea De Mauro

MEAP Edition Version 7 · Manning Publications

View this ebook