Skip to content

Connect the workflow you already use

A support preference should reach the next authorised task without making you replace your model provider. Neutron AI exposes HTTP calls for this integration. There is no native no-code connector promised here. Use developer help if your automation cannot keep secrets or enforce per-user access.

Trusted HTTP automation recipe

  1. Follow the quickstart and store the Nucleus token in the automation service's encrypted credential field. Never place it in a browser form, a webhook URL or workflow output.
  2. Authenticate the incoming user in your backend. Map that identity to a fixed permitted Nucleus and Scope. Do not copy scopeId or nucleusId directly from an untrusted webhook body.
  3. Add an HTTP POST step to https://neutronai.dev/api/v1/memory/remember, with bearer credentials, JSON content type and the synthetic quickstart body. Expect accepted: true and save memoryId.
  4. Before the existing model step, POST to /v1/memory/agent-context with the authorised Scope, task and token budget. Pass promptContext as supporting context to that model step.
  5. Add a separate correction/consent-revocation path that calls /v1/memory/forget with the exact Nucleus, Scope and memory ID. Remove any copied prompt context in your own workflow cache.
  6. Stop on 401/403/402. Use bounded retries for transient failures; avoid automatically replaying billable writes after an ambiguous timeout. Keep tokens and private memory out of execution logs.

Check whether your automation provider supports protected credentials, HTTP steps, conditional error branches, deletion events and private log retention before choosing it. This recipe does not certify any third-party connector, plan or configuration.

Framework boundaries

StackWhere to make the callWhere to use the resultResponsibility retained by your app
Node.js / VercelServer route or server action using secret environment variablesBefore the existing model requestUser session, Scope mapping, timeout and 402 handling
Python / LangChainA server-side callable before the model or chain invocationAdd promptContext to the chain's supporting contextDo not treat retrieved text as new system instructions
Python / LangGraphA node before model execution, followed by a bounded state updateSupply the pack for that taskKeep checkpoint state, current task and Neutron memory boundaries distinct
PHP / LaravelService class called after authentication/authorisation middlewareAdd context before your model gateway callNever put the bearer token in a Blade page or public job payload
GoA server-side client with request context and timeoutMerge eligible context before the model HTTP requestCheck errors and retain cancellation
RustA server-side async client or service adapterAdd eligible context to the chosen model requestKeep secrets, access policy and execution decisions in the service

The complete language examples use public REST directly, so they work without waiting for a framework plugin or typed SDK parity. They are backend examples, not automatic integrations with every framework version. Measure setup effort on your application rather than relying on a universal time-to-value promise.