Send email invite when creating "SOCIAL" user with the OKTA SDK

We are in the process of migrating our flows to OKTA OIE and we are facing an issue while inviting new IDP users.

We have an internal tool to invite users to the system. Currently, as part of the invite we are sending two different types of emails. If it is a regular OKTA user, we send an email with a link to complete the signup, and if the user is a Microsoft 365 user, we just send an email with a link to the login page.

Now we are moving to use more OKTA, and for the first case, the flow works okay. The problem comes with the second type of users. We are still able to create them using the SDK, but there is no email sent out. Is there any way in OKTA to trigger emails when new IDP users are created?

Our goal is to be able to do something like this and send an email to the user as part of the invite

Thanks in advance for any help!