create memory

This block is part of the anthropic group and was last modified in core v15.0.0.

create memory v15.0.0

Open (or create) a persistent memory by id. The same id returns the same memory across runs, so Claude can pick a conversation back up weeks later. Feed the memory into a send message block.

In pins 2 + flow
  • flow
    flow
  • id required
    value

    Your identifier for this memory (e.g. a user id, a chat id). The same id always resolves to the same memory.

  • expiry (days)
    number

    How long the memory lives without being used. Each open/use extends it. Default 90.

Out pins 5 + flow
  • flow
    flow
  • success
    condition
  • memory
    anthropicmemory

    The memory handle; wire into a send message block (or get/delete memory).

  • created
    condition

    True when a new memory was created (false when an existing one was reopened).

  • errors
    array<value>

    Error codes when the call fails (success=false): config_error, internal_error.

  • error detail
    value
memory
open memory
session
conversation
chat memory

A typical wiring for create memory: a function trigger starts the flow; value feeds the id pin; the flow out pin feeds debug.

Studio canvas example for the create memory block: typical wiring for create memory.

Version history

Introduced in v15.0.0.


Back to anthropic Return to the main group to view all sub-groups Back to anthropic Return to the group to view all blocks within this group