Is there a way to send a email confirmation link t...
# support
a
Hi Medplum team. We've managed to successfully save and edit all user profile details using the patient resource. I didn't find any specifics on if we can send the new registered users via the FooMedical repo. Or is it something we need to manually create? Appreciated if you've any insights on this.
r
Hi @ashok8869 , I just wanted to make sure I understand your question. Are you asking whether you can send a custom welcome email to a patient once they've been registered? If so, the aswer is yes! We have documentation on this here: https://www.medplum.com/docs/auth/custom-welcome-emails
a
@rahul1 Not exactly but something similar. Curently, the user can register without any email verification. I would like the user to verify the email via a link that the user gets in the email.
r
Ah I see. We don't have that capability built-in, yet you can create it using Bots. You could add an email verification link in the custom email you send, and have it ping your server
We also support integrating with other Auth providers, such as Auth0 and Okta, which may support more advanced verification procedures
I'll also file this ticket as a feature request, as it seems like something that would be resonable for us to support natively
@ashok8869 I received some clarification from the eng team. So this is possible to date, as follows: 1. Create a bot that will receive your verification requests 2. Follow the guide above on to create custom welcome emails 3. Inside your email, provide a link to execute the bot from step 1. The bot will read teh query string parameters as input, and can take action accordingly
Hi @ashok8869 - I just wanted to check to see if the solution in my last message would be useful
a
@rahul1 Thankyou for the message. Will definitely work in the purposed solution. Yet to figure it out.
r
My pleasure, please let me know if I can help
Hi @ashok8869 - I just wanted to let you know that we have some new documentation out about how to execute Bots from a
GET
request (i.e. an email link) https://www.medplum.com/docs/api/fhir/operations/bot-execute
149 Views