cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Regular Visitor

Event registration on SPO with Flow

I'm trying to build an event registration on SharePoint with the help of a Flow.

Goal:
I am conducting multiple online events via Teams. I would like a SharePoint modern site, which (next to other things) includes a list of events (Time, title, description, etc.). Next to each event there is a button, which a user can click to add the event to their Outlook calendar. Ideally the button triggers a Flow that sends an event invitation to the user, who clicked the button.

What is the best way to tackle this?

Issues I have encountered:

  • I can create a SP list with a button that triggers the Flow (like here: Trigger Flow from sharepoint list ), but when I include this list in my SP modern site the button stops working - nothing happens.
  • I can create a button which forwards to the user to the run URL of the Flow. But then the user has to change pages and start the Flow from their Power Automate site, which is no acceptable.
  • When I send the invitation as an iCal (.ics) attachment the user first has to save the file, which is not ideal.
  • I can also invite myself and then forward that invitation to the respective user, but then my original headers are shown, which looks rather messy and is also not ideal.
3 REPLIES 3
Super User II
Super User II

HI @leo85 

 

You can build the ics yourself. The format is the following:

 

BEGIN:VCALENDAR
VERSION: 2.0
BEGIN:VEVENT
URL:
DTSTART:
DTEND:
SUMMARY:
DESCRIPTION:
LOCATION:
END:VEVENT
END: VCALENDAR

 

The date should be formated as: YYYYMMDDTHHMMSSZ.

 

You can use a compose with the template above and the fields to generate the desired information. 

 

Then insert is as an attachment with the .ics extension and send it to the user. 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Cheers
Manuel

 

Hey @leo85 

 

Were you able to do it?

 

I ended up writing an article about this since it's a topic that I see asked all the time. 

https://manueltgomes.com/microsoft/powerautomate/ics-calendar-event/

 

Take a look if you have any questions or let me know here.

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Cheers
Manuel

Hi @manuelstgomes 

 

Thank you for your replay and article. As mentioned before, I had already tried this, but unfortunately it does not solve the issue.

 

The problem with this approach is that users do not get a meeting invitation, but an email with the invitation as an attachment. This difference means that users need to open the attachment, click "add to calendar" and then save it. This is a lot more effort than simply clicking "accept" in a meeting invitation.

 

Regards,

Leo

Helpful resources

Announcements
New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (65,641)