Answered

When/how does a user record get created?

  • 16 December 2021
  • 2 replies
  • 108 views

We have a web app that sets the `intercomSettings` properties as soon as the user logs in, we notice that a User record gets created in the intercom dashboard, but we would like to switch this so the User record gets created as soon as the user completes the sign-up process, checking the documentation it says "When user_id / email is provided, it will be saved as a User record"

 

so the question is, after setting the email/user_id how long does it take the record to get registered? is there any concern about doing this when the user hasn't login?

 

Doc reference: https://developers.intercom.com/installing-intercom/docs/javascript-api-attributes-objects#data-attributes

 

Thanks for your help in advance

icon

Best answer by Lisa B11 20 December 2021, 17:31

View original

2 replies

Hey @victor r​ 👋

 

The user record should get created in real time within a few seconds of when their data is sent through after the sign-up process.

 

Regarding concerns about the process, it would depend on the flow of your application after sign-up and whether duplicate sign-ups are proactively being prevented but it could potentially have unintended effects around bypassing identity verification if you have that enabled at the moment for users.

 

Even if identity verification is enabled, if your sending through user data without the need to provide login credentials then anyone might be able to attempt to sign up as a different user and get access to their conversations in the Messenger without officially logging in.

Hey @lisa b11​ 

 

Thanks for your response, unfortunately, we haven't been able to create the user record in intercom as we expect, our application is currently setting the user name, email, and company at the sign-up flow but the record gets immediately created when we do the sign-in flow, our application has enabled the identity verification, therefore we only set the user_hash at the sign-in flow, the user_hash is only available at the sign-in flow, not the sign-up flow, is this the reason why the record is not created at the sign-up flow? 

Reply