apps/docs/n8n.mdx
Connect Supermemory to your n8n workflows to build intelligent automation workflows and agents that leverage your full knowledge base.
The Supermemory integration in n8n uses the HTTP Request node to interact with the Supermemory API. Here's how to configure it:
POSThttps://api.supermemory.ai/v3/documentshttps://api.supermemory.ai/v4/searchIn this tutorial, we'll create a workflow that automatically adds every email from Gmail to your Supermemory knowledge base. We'll use the HTTP Request node to send email data to Supermemory's API, creating a searchable archive of all your communications.
Follow these steps to build a workflow that captures and stores your Gmail messages:
POSThttps://api.supermemory.ai/v3/documentsIn the HTTP Request node's Body, select JSON and Using Fields Below
And create 2 fields:
content, value: {{ $json.snippet }}containerTag, value: gmailIf you want to process attachments:
{{$json.attachments}}Refer to the API Reference tab to learn more about other supermemory API endpoints.