I see in https://developers.google.com/+/hangouts/button how one can use the API to start a hangouts. However, my use case is more similar to the calendar implementation in which you create an event, and you want to save a link to a hangouts in the meeting that people can join later when the event starts.
Is that possible with this or other API?
Related
When I create a event in my calendar I have the option "Out of Office". How I can create a event about GScript with the function "Out of Office"?
Here you can find my current sheet incl. my script: https://docs.google.com/spreadsheets/d/17zdmhWr9EUrY_-6ZVrYWggf5kAnvEhKGdGsJbxW7Px4/edit?usp=sharing
How can I add the command? or is there a feature which I do not know?
Answer:
Unfortunately, in its current form, this isn't possible through the Calendar API.
More Information:
Google Apps Script and the G Suite service integration it provides are effectively wrappers for the already existing APIs for the services they connect to (Calendar, Sheets, Docs, etc). As a result, given that the feature is not available through the API, Apps Script does not have this ability either.
Feature Request:
I did a search on Google's Issue Tracker and there are a couple of highly requested Feature Requests for the creation of Out of office events through the Calendar API already.
You can find these Feature Requests here and here, which you can give a star (☆) in the top left to let Google know more people wish for this request to be implemented.
I've reviewed the Google Calendar API docs and having trouble finding information on creating events on a predefined calendar.
The Browser Quickstart docs worked just great to get up and running by authenticating use of my calendar. However, do you have advice on how to allow users to create events on a predefined calendar?
Use case:
We have a couple web forms for users (leads) to complete. When certain criteria have been met, we'd like to pass details from the web form to a Google Calendar event on our company calendar.
User completes web form which includes a handful of questions, namely two date/time pickers
On form submission, deliver form values to Google Calendar API - create event dynamically using information submitted in the form
Standard calendar functionality happens; notifications, etc. generated from Google Calendar
More clarification:
Users don't need view access to the calendar
The calendar integration is irrelevant to users, they're just submitting a contact form
It appears the only required event fields are start and end time so that's easy enough to grab from a date picker I'm just lost on how to engineer the connection to our company calendar named e.g. "User Created Events".
I know this can be done with Zapier. I'd like to learn the correct way though.
Based from Calendar API Sharing and Attendees:
There are two different ways to share calendar and event data with
others.
Firstly, you can share an entire calendar, with a specified level of
access. For example, you can create a team calendar, and then do
things like:
Grant all members of your team the right to add and modify events in the calendar
Grant your boss the right to see the events on your calendar
Grant your customers the right to only see when you are free or busy, but not the details of the events
You can also adjust the access to individual events on the shared
calendar.
You can share with somebody a specific created event on a calendar using google api by going through ACL - access control list.
I use Zapier for my organization to complete the exact same scenario. Ideally the webform service you use has a built in integration with Zapier, otherwise there will be some coding involved to have this work.
Assuming your webform service has an integration with Zapier:
Trigger Event: There is likely a trigger scenario along the lines of "execute zap on submission of new record". Upon this trigger activating, depending on how your webform service sends data, you will likely receive a list of values corresponding to the data entered.
Optional Action: Depending on the consistency of the data being entered through the webform you may want to also consider adding a step using the Zapier code module. The code module allows you to take the data gathered during the trigger event and manipulate it as you see fit (I personally use this step to check that data was entered correctly). That said it is an advanced step and does require some coding experience in either javascript or python. See the Python documentation here and the Java documentation here.
Google Calendar Action: If you haven't already you will be required to authorize Zapier's access to read and write to your calendar. Zapier makes this pretty straight forward. Click the "connect account" button and a dialog window will appear asking you to log into your gmail account. After you have connected your account you can then setup your template. Using the drop downs within the template you can select what data you would like to be entered into each field. Assuming everything went correctly then you should see the information added to your calendar.
See the documentation here for further explanation.
Assuming your webform service does not have an integration with Zapier:
This is a bit trickier and will be dependent on the whether or not your webform service allows you to make POST requests based on the entering of new forms. This will as well require a good deal more programming to get up and running. Not knowing the platform you are using to capture user input forces me to make a lot of assumptions.
So assuming your webform platform has the ability to make POST requests with the data from a newly entered record, or allows you to program it to do so, you could use Zapier's webhook module as a trigger. See Zapier's webhook documentation here.
For this to work you would have to start by creating a webhook endpoint through Zapier. The endpoint is just a url that is waiting to receive data sent to it from an outside source, in this case your webform platform.
The zap template would look as follows:
Trigger Event: POST request data caught by Zapier webhook endpoint. Once the data is captured it can be used in the same way you would with a standard zap. That is to say that the data, in the form of key/value pairs, will now be populated in Zapier's drop down list you use to move information from one step to the next.
Optional Action: Once again you can leverage Zapier's code module to apply logic to the captured data.
Google Calendar Action: Same as the "Google Calendar Action" listed above.
Edit:
In re-reading your question I realize that you are looking to achieve this without using zapier. I will leave this answer up for the time being, as perhaps it will have some value to you. If not I can remove it.
I would like to create an automate who collects Notifications, those are into the clock icon at the top right, to make a summary at the end of the day through an email.
I was searching but I don't found anything: is existing an API who retrieved the notifications from Google Analytics ?
No there isn't. The only APIs available are listed below, none of them provide notifications information.
https://developers.google.com/analytics/devguides/reporting/core/
https://developers.google.com/analytics/devguides/reporting/embed/
https://developers.google.com/analytics/devguides/reporting/mcf/
https://developers.google.com/analytics/devguides/reporting/realtime/
https://developers.google.com/analytics/devguides/reporting/metadata/
https://developers.google.com/analytics/devguides/config/mgmt
An alternative is to create custom alerts with emails, then use tools like Zapier to process those emails in an automated fashion.
We're using Branch.io deep links.
We want to know when the user actually sends these deep links via Whatsapp.
Is there a way to know that?
Thanks!
Alex from Branch.io here: this feature isn't available directly. However, you should be able to get fairly close using our webhooks feature combined with custom events. Just set a custom event for when a user shares a link via Whatsapp, and then set a webhook to use that event as criteria.
I need to submit a survey response from my own mobile app. The user will be shown a survey to fill for which i can pull the survey questions and answer choices using the get_survey_details api call but how do I submit the response to survey monkey? I dont see a submit_survey type api call anywhere. I this API is available on certain plan I can arrange for that plan but I just need to know before I pay for a plan and later find that I cannot submit response from my mobile app.
I looked here: https://developer.surveymonkey.com/api_console
And in the documentation: https://developer.surveymonkey.com/mashery/requests_responses
P.S. I'm planning to use the platinum plan as it allows me to send custom variables to the survey which I will use later for analytics.
If you haven't seen it already, API V3 is released. See the docs on responses: https://developer.surveymonkey.com/api/v3/#survey-responses
Nigel is correct. API V2 does not provide way to submit responses. A new version of the API is in the works, and will provide additional functionality. Updates will be posted at https://developer.surveymonkey.com/.
My client has specified an app that has their Survey Monkey surveys embedded so that app users (Members) can be notified of new surveys and answer surveys all within their iOS or Android app.
As I look at the problem, I need API methods to be able to:
View the surveys available to Members and their completion status
Get the questions from the Survey and present them for entry
Submit the answers entered from the Survey
Will this functionality be available in API V3? What is the timeframe for this new API? The app has other means of notifying the users, so potentially we can do that in the interim and direct them to web pages to complete the survey, but ultimately we want it all within the app.