apps/docs/integrations/viasocket.mdx
Connect Supermemory to viaSocket to build powerful automation flows — search your memory, trigger actions, and wire up services like Gmail, all without writing code.
</Step>
<Step title="Create a New Flow in viaSocket">
- Click **Create New Flow** in your viaSocket dashboard.
- In the **Trigger** section, search for and select **Supermemory**.
- Choose a trigger — **Search Memory** or **Search User Profile**.

</Step>
<Step title="Connect Your Supermemory Account">
- Click **Connect to Supermemory**.
- Paste your Supermemory API key.
- Click **Save** to store the connection.
- Confirm the connection is successfully added before proceeding.

</Step>
<Step title="Configure the Trigger">
- Provide a **Query** — either a static value or a dynamic input from a previous step.
- Click **TEST** to run a sample and verify the output.
- Save the trigger once the test returns expected data.

</Step>
<Step title="Add an Action (Example: Gmail Send Email)">
- Click **Add Step**.
- Select **Gmail → Send Email**.
- Choose an existing Gmail connection or create a new one.
- Map the required fields:
- **To** — recipient email address
- **Subject** — email subject line
- **Message Body** — use the trigger's `body` object as dynamic input
- Click **Test** to send a test email.
- Confirm a **200** response status before saving.

</Step>
<Step title="Go Live & Monitor">
- Click **GO LIVE** to activate your flow.
- Confirm the activation prompt.
- Use **Flow View** to inspect the flow structure and **Log View** to monitor executions in real time.
- If needed, re-run any execution from **Run History**.

</Step>
You can extend this flow with other actions and services supported by viaSocket.