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

Creating calendar entries from parsed email

Hi all,

I'm new to flow so the question is quite simple.

We are being notified of systems outages by email (something like [system FOOBAR will be down for maintenace on 05-10-2019 starting at 11:45 for approx 45 minutes] so I'm trying to define a flow that will create a calendar entry from a parsed email (using Parserr).

Now I could parse the email extracting the following info

"title" = "Email subject"

"startdate" = 05-10-2019

"starttime" = 11:45

"lenght" = 45

In the flow builder I use the "Create Event v4" action but I cannot undestand how to define the start/end dates i.e how to define expressions using dinamic content.

Can you help?

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Creating calendar entries from parsed email

Hi @mauslyon 

 

Please follow the below steps:

 

First I declare all the values. In your case you need to map these from your email parse texts.

 

time1.png

 

Next we need to workout StartTime and EndTime.

 

time2.png

 

Following  are the expressions I used for the above. 

 

concat(variables('StartDate'),' ',variables('StartTime'))
 
formatDateTime(variables('StartDateTime'),'yyyy-MM-ddThh:mm:ss')
 
addMinutes(outputs('Compose_-_Start_Date_Time'),int(variables('Duration')))

 

Next add the calendar event, map the above values.

time3.png

Above set your time zone appropriately.

 

Here is my test results.

 

time4.png

 

Event added in my calendar. See below.

 

time5.png

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog

View solution in original post

3 REPLIES 3
Super User
Super User

Re: Creating calendar entries from parsed email

Hi @mauslyon 

 

Please follow the below steps:

 

First I declare all the values. In your case you need to map these from your email parse texts.

 

time1.png

 

Next we need to workout StartTime and EndTime.

 

time2.png

 

Following  are the expressions I used for the above. 

 

concat(variables('StartDate'),' ',variables('StartTime'))
 
formatDateTime(variables('StartDateTime'),'yyyy-MM-ddThh:mm:ss')
 
addMinutes(outputs('Compose_-_Start_Date_Time'),int(variables('Duration')))

 

Next add the calendar event, map the above values.

time3.png

Above set your time zone appropriately.

 

Here is my test results.

 

time4.png

 

Event added in my calendar. See below.

 

time5.png

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog

View solution in original post

Super User
Super User

Re: Creating calendar entries from parsed email

Hi @mauslyon 

 

If you need any further help in this please let me know.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
mauslyon
Regular Visitor

Re: Creating calendar entries from parsed email

thanks for the help

problem solved

M

Helpful resources

Announcements
firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (6,387)