Web Messaging SDK: Guest attributes not persisting for authenticated users in n8n workflow

Could someone explain why custom guest attributes set via the Web Messaging SDK are not persisting when the widget is initialized from an n8n HTTP node? I am deploying the widget for authenticated users and passing a valid token, but the attributes reset on reload.

  1. n8n HTTP node generates a JWT for the user.
  2. Client-side script initializes GenesysWebMessaging with the token.
  3. Script calls setGuestAttributes with a JSON payload containing userId and tenantId.
  4. Widget renders, but subsequent interactions show default guest values instead of the passed attributes.

The console shows no errors, and the API call to /api/v2/analytics/conversations/events returns 200 OK. Is there a specific timing constraint or additional header required in the SDK initialization?