Power Automate: WebCal New Event / Entry / Update trigger - power-automate

TL,DR; Any suggestions / tips to use a WebCal URL update as a trigger in a Flow?
Background: My 3 children use Schoology for their online learning. They get assignments through this application, but the problem with this is that they have to go to multiple places to get this list and they cannot check off the assignments when they are completed (they just stay in their list after they have submitted and completed the item).
Schoology provides a WebCal link to see all of these assignments in a calendar feed and I would like to take all of these entries and add them to Microsoft To-Do and allow the use of the functionality there. Power Automate does not allow for the usage of WebCal links from what I can see. (There is a request here for this functionality.) So my idea was to put the WebCal in Google Calendar, use the Google Calendar trigger When an event is added to a calendar to create a Microsoft To-Do entry with Add a to-do (V2). The problem is that Power Automate does not see new entries with the Google Calendar trigger When an event is added to a calendar.
In troubleshooting this, I changed the flow source of the Google Calendar to one that is manually maintained, created a Google event and Power Automate was able to create a To-Do list entry. So I know that the Flow is working, it is just that the trigger does not fire for the WebCal.
Any suggestions / tips to use a WebCal URL as a trigger in a Flow?

As per Google as my understand:
Google caches web call links for "between 8 and 24th hour"
So that is probably the root of your 'failed to trigger' issue.

Related

Prevent conflicts when creating events in a resource calendar using Google Calendar V3

I'm trying to solve a problem of preventing double bookings using the Google Calendar Api (v3). I'm using Google resources in a GSuite environment. The bookings are made from a centralized platform on behalf of multiple users and are applied to multiple rooms (resources). The responsible application authenticates using a Service Account. The resource calendars are all configured to only accept invitations that do not conflict.
So far I found out that there are at least two ways to book a resource:
Create an event in the resource calendar
Create an event in a personal calendar en add the resource as attendee
I found out that in the first senario, events can be added to the resource calendar, even if they cause a conflict. There is no failure in the api response, the event is just added.
I tested the second scenario with my personal calendar and found out that the room needs to respond to the event invitation. Apparently that process may take several minutes before the room responds.
I'm building an api that should respond as fast as possible, but I want it to only create an event if it doesn't conflict. Of course I can use the free/busy information to reduce the chance of conclicts, but I would like to eliminate that chance entirely.
Does anyone know if Google provides functionality for this problem out of the box?
Thanks in advance.
Google does not do any validation on the api. You send what you want inserted and they insert it. Its up to you to ensure that it does not conflict with anything already there.
May i suggest that you check before you insert it and then do a double check in a few minutes to ensure there is no conflicts if there is then delete it again.

Microsoft Flow integration

I read an article about Microsoft Flow. I was wondering if it is possible to trigger events using this in an external website.
For instance, supposing a post is made on Yammer for some approval flow based application. If an authorized user comments saying "Approved", this must trigger an action in my external website.
Is this feasible using Flow?
You can also make your own custom connectors if your website has a RESTful API. https://learn.microsoft.com/en-us/flow/register-custom-api
There is an event for Yammer in Microsoft flow. I have something set up similar for my company and Twitter. When our company is mentioned it sends a message off to our social director.
I have several such flows for things like Yelp, Twitter, Facebook.
You need your Yammer account.
The events that you can trigger from and then include a trigger word or phrase are:
Get All messages
Get Messages in a group
Get Messages from my Following Feed
Post Message
Once you have that trigger its simple enough to look for the key word within a condition step.
Chances are good there is already a template for this in Microsoft Flow. Just look at the ones for Yelp, Facebook, etc. and modify for your needs
Just as AJAX mentioned, you can apply your own Custom Connector for a case like this. A Connector is the "plugin" used with a Flow, such as Yammer.
It's a bit late since November 28th (practically a 30-day late response here), but PowerApps allows you to create your own Custom Connector applying Microsoft's API. You'd be able to plug into your website (GET, POST, etc) directly with this when you create a trigger (the condition met true) that would launch an action. If you created your own API, Microsoft would have to validate if it's met standards pertaining to security.
By applying PowerApps, you'd be able to create your own actions and triggers. From this, you can integrate your own web based process' based on documentation that was observed: https://powerapps.microsoft.com/en-us/blog/brand-new-custom-api-experience-in-powerapps/. From here, you'd be able to customize it was needed.
JSON is required for some circumstances, however Postman would be a great IDE to consider as it also applies a pre-approved API by Micrsoft.

Google Tag manager is not recordingTransactions for enhanced Ecommerce

I already searched a lot and saw this link.
I setup my google analytics with configuring magento native Google API by using account type the Google tag manager. I am able to see page views, All sessions and sessions with product views. however, the rest are 0. please take a look at the following image:
I debugged the google tag manager with debug tool and I can see that purchase tracking with purchase event is being fired, however, I do not see it in google analytics.
I already setup what the this link provided,
Also I see that data layer has the purchase information id,revenue,tax,etc.
I am wondering what needs to be done so that sessions with transactions will get recorded?
here is the configuration that I have for the tag:
I'm not sure what's wrong?
If those are the exact tags that you are using, then there looks to be a typo in your Purchase trigger. You've got Event equals puchase (typo for "purchase"). You don't need to define this value again, and it would be sufficient to just have Event name of purchase (ie. you don't need the This trigger fires on).

Disable email notificaton when sharing a Google Calendar

I am using the Google Calendar API V3 to share Google calendars by managing the ACL Permissions. Many of my customers do not want an email notification when a new calendar is shared with them. Is there a way to disable that?
To explain bette what I am looking for: I also use the Google drive API v2 and that API addresses the issue by providing a sendNotificationEmails parameter that you can set to False when sharing a Google document (see this). I am looking for something similar.
Based from this documentation, you need to set sendNotifications to false so invitee didn't get the notification about the invitation even though invitee's calendar UI has New events setting to "true".
Check this example.
I don't believe this is currently possible. Sharing a calendar involves adding an ACL for a given user/group, and the notification email is generated upon adding the ACL. There does not appear to be any way to suppress the notification email. Even if you could, if you are sharing with a group, the individual users must click a link to add the calendar to their Calendar app.
I have put in a group of feature requests through the Calendar forum that would make this process easier. While it is aimed at the front end of the calendar application, I'm hoping they would add corresponding options to the APIs.

Adding a Google Calendar to a view in Xcode

I'm learning iOS programming and I'm at a very basic level.
I hope somebody can help me with a test project I'm trying to do.
In a view of my app I'd like to show a Google Calendar.
The source calendar will always be the same and events will be added via web site, so there's no need for the user to modify or add anything.
The view should just show a list (tableview?) of events fetched from google and touching each event should push another view with the event's details.
I've tried to see the documents for the Google's API, but, honestly, I'm not able to implement it without help.

Resources