When trying to configure sending invitation mail u...
# ask-a-descoper
s
When trying to configure sending invitation mail using SengGrid connector, I'm unable to select it on the users page. I've configured in the project to use my connector and set the SendGrid template id, but I can not choose it when trying to invite users. In addition, what template parameters are passed and aviliable to use in the template itself? I could not find anything on https://docs.descope.com/management/messaging-templates#user-invitation-templates
o
Hey Sharon, so regarding to choose which provider to use for sending user invites, you can define it under the Project tab, right here:
Regarding parameters, you can use:
twilio_code
redirectUrl
s
I did, but in the users page I only see this and the mail I get is the default Descope template. If I click re-send invitation, it seems I do get the SendGrid template
o
The problem is you are choosing the template. Try to leave this field empty at the beginning and do it again. Let me know if it works out
s
Yeah seems so. Can I access more parameters in the template like the user first name and such?
r
Hey Sharon, these are considered dynamic parameters. it's either you provide them when inviting the user using the API/SDK or using the flow to pass them in the invite action.
s
Not sure I understand, I can't access these "User Attributes" in the SendGrid template when inviting users from this screen?
r
no, these are not passed to the sendgrid template, only what Ofek shared and these dynamic values i mentioned so if you want to send an invite and use the "Name" for an example, use the SDK and provide it under "templateOptions" and then it will be accessible in the sendgrid template under {{options_name}}
We can also meet to discuss this if you want. just let me know.
s
That can be great. DM me so we can schedule?
r
sure