web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Send Invitation Automa...
Power Pages
Unanswered

Send Invitation Automatically when a contact is created in the Portal

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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

Categories:
I have the same question (0)
  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    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

     

  • Fubar Profile Picture
    8,487 Super User 2026 Season 1 on at

    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)

  • Summer Garg Profile Picture
    48 on at
  • dcorain Profile Picture
    4 on at

    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)
  • ragavanrajan Profile Picture
    7,044 Most Valuable Professional on at

    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.

     

  • Fubar Profile Picture
    8,487 Super User 2026 Season 1 on at

    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

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
rezarizvii Profile Picture

rezarizvii 64

#2
DP_Prabh Profile Picture

DP_Prabh 34

#3
oliver.rodrigues Profile Picture

oliver.rodrigues 30 Most Valuable Professional

Last 30 days Overall leaderboard