M365 Conversation Ref icon

M365 Conversation Ref

Serialize / deserialize M365 conversation reference + auth context for persistence via n8n data nodes. NOT a storage backend — pipe the output to Redis/MySQL/DataTable or load from one.

Actions2

Serialize → Save

AI-generated

Summary

Serialize envelope into a JSON payload

Inputs

  • envelope (required) — Input JSON that must contain a conversationReference field. May optionally include authContext with tokenSource, validatedClaims.exp, and inboundBearer.

Output shape

object

Contains conversationReference and, depending on options, tokenSource, claimsExp, and inboundBearer.

Examples

Example 1: Save without bearer token

Include Inbound Bearer: false (default). Input must have conversationReference; authContext may be present but its inboundBearer is omitted from output.

Example 2: Save with bearer token

Include Inbound Bearer: true. Input must have conversationReference and authContext.inboundBearer (an Azure AD access token). Output includes inboundBearer; downstream storage must be secured (encrypted at rest, access-controlled) and token lifetime should be bounded by the exp claim.

Links

Discussion