Skip to main content
Community site session details

Community site session details

Session Id : UMYoIDOREIxet4LeIpS1Da
Power Pages - Power Apps Portals
Unanswered

Send Invitation Automatically when a contact is created in the Portal

Like (0) ShareShare
ReportReport
Posted on 5 Nov 2020 05:54:01 by

Hello Community,

 

Could anyone please suggest me how we can automate the workflow to send invitation from the Portal as soon as a contact is created in the Portal?

Your help is greatly appreciated.

Thank you

  • Fubar Profile Picture
    8,047 Super User 2025 Season 2 on 13 May 2021 at 00:01:58
    Re: Send Invitation Automatically when a contact is created in the Portal

    Entity/Basic Forms, Web/Advanced Form Steps have a Related Tab called Metadata.  You can create Metadata records to perform various actions such as add additional options to Subgrids, and a range of things with Attributes/Columns such as capture the Current Portal User, their Account, the current date-time, and set the column to a specific value.  Metadata only applies to the Portal and not to Model Driven or Canvas Apps so for example you could set a 2 option column (defaulted to No) called "Created From Portal" and in the Metadata set it to Yes (if created from DataVerse Apps etc the column = No, if created from the Portal = Yes)

     

    https://docs.microsoft.com/en-us/powerapps/maker/portals/configure/configure-web-form-metadata

    https://docs.microsoft.com/en-us/powerapps/maker/portals/configure/configure-web-form-metadata#set-value-on-save

     

    You then create a Workflow that triggers on create of the record and have a condition that says If Created From Portal = Yes then .......

    https://docs.microsoft.com/en-us/power-automate/workflow-processes

    https://docs.microsoft.com/en-us/powerapps/maker/data-platform/overview-realtime-workflows

  • ragavanrajan Profile Picture
    7,036 Most Valuable Professional on 12 May 2021 at 23:14:49
    Re: Send Invitation Automatically when a contact is created in the Portal

    Hi @dcorain ,

     

    You can add a column in the "Contact" Entity with a meaningful column name and you can use entity form metadata to check if the contact was created from the portal. Then your workflow or power automate flow can trigger. 

     

     

    Hope it helps. 

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

     

  • dcorain Profile Picture
    4 on 12 May 2021 at 22:53:26
    Re: Send Invitation Automatically when a contact is created in the Portal

    Hey, thanks for the response. I'm new to dynamics. Could you explain better this process?

    • Check the Contact was created on the Portal (add a field to Contact and populate it from Entity Form metadata - so you know the contact originated from the Portal)
  • Summer Garg Profile Picture
    48 on 23 Nov 2020 at 10:25:20
    Re: Send Invitation Automatically when a contact is created in the Portal

    Hi,

     

    Check this article, It helps you....

    https://crmhub.blogspot.com/2018/04/Registration-process-through-OTP-D365-Portal-ADX-Studio-Portal.html

     

    For Tutorial List :

    https://crmhub.blogspot.com/p/d365-portal-adx-studio-portal.html

     

    Thanks,

  • Fubar Profile Picture
    8,047 Super User 2025 Season 2 on 05 Nov 2020 at 23:09:07
    Re: Send Invitation Automatically when a contact is created in the Portal

    This is not as difficult as suggested by the other post.

    Create a Dynamics 365 Workflow

    • Trigger on create of Contact
    • Check the Contact was created on the Portal (add a field to Contact and populate it from Entity Form metadata - so you know the contact originated from the Portal)
    • Create Invitation record (this also creates the Invite Code)
    • optional attach a Web Role to the Contact (a custom workflow activity or action already exists to do this)
    • call the existing Send Invitation workflow as a child workflow

     

    This could also probably be done with Flow but you would probably have to still call the the actual Send Invite workflow (as the actual Sending is a custom item provided by Microsoft - as it handles Group send as well as Single invites)

  • v-bofeng-msft Profile Picture
    on 05 Nov 2020 at 09:28:40
    Re: Send Invitation Automatically when a contact is created in the Portal

    Hi @Anonymous :

    This can be done.However, generating invitation code is a bit tricky.

    I think this article will help you a lot:

    Send Invite to Contacts automatically for Microsoft Portal in Dynamics 365 

    Best Regards,

    Bof

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#2
Lucas001 Profile Picture

Lucas001 48 Super User 2025 Season 2

#3
KevinGador Profile Picture

KevinGador 44 Super User 2025 Season 2

Loading complete