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.
- n8n HTTP node generates a JWT for the user.
- Client-side script initializes GenesysWebMessaging with the token.
- Script calls
setGuestAttributeswith a JSON payload containinguserIdandtenantId. - 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?