Is there a way to raise SNOW ticket as notification for query failures in snowflake? - snowflake-cloud-data-platform

I was going through the integration documents available for snowflake & service now. But, all documents are oddly focussed on sf consuming snow data for analytics. Didn't find anything related to creating tickets for failures at snowflake. Is it possible?
It's not about the monitoring & notification aspect of snowflake but connecting with service now and raise a ticket for query failures (tasks,sp etc.)
Any ideas?

There's no functionality like that as of now. I can recommend you open an Idea for it and if enough customers want it our Product Management will review it.

For the Snowpipe, we found a way to use it. We send the error message to SNS and then we can do a Lambda function to call the Rest API of ServiceNow to create a ticket.
For Task, we find that it is possible to use External Functions to notify to AWS whenever the Task fails, but we haven’t implemented it.

Email is a simple way. You need to determine how your ServiceNow instance is processing emails. We implemented incident creation from Azure App Insights based on emails.
In ServiceNow find the Inbound Action you need to process the email or make one.
ServiceNow provides every instance with an email account
Refer to enter link description here
The instance email is usually xxxx#service-now.com.
If your instance url is "audi.service-now.com", the email would be "audi#service-now.com".
For a PDI dev#servicenowdevelopers.com, e.g.; dev12345#servicenowdevelopers.com

Related

What is the WORKSHEETS_APP_USER in Snowflake

While looking at our snowflake.account_usage.login_history in order to identify users with outdated client drivers (using reported_client_type + reported_client_version), I came across this user_name that I did not recognize: WORKSHEETS_APP_USER.
It's not one of our users, so I'm wondering where it's coming from.
The client driver it's using is OTHER 1.1.5.
It's using OAUTH_ACCESS_TOKEN to authenticate (which is not an authentication method we use for Snowflake).
And it's using a ton of different IPs in the 10.4.* range.
It has a lot more logins during the week than during the weekend -- so probably a human(s).
I'm thinking it's probably related to the worksheets UI (either in Snowsight or in the old console).
If so, would there be any way to know who was the original user(s) behind this activity?
The first time Snowsight is accessed in an account, Snowflake creates an internal WORKSHEETS_APP_USER user to support the web interface. This user is used to cache query results in an internal stage in your account. For more information, see Getting Started With Snowsight.
https://docs.snowflake.com/en/sql-reference/account-usage/users.html#usage-notes

Salesforce - Generate Contact Records for Internal Employees for Use in Service Cloud

I recently configured Service Cloud for my organization and for the most part it is working great. We do have an issue I can seem to solve though. The first time an internal employee submits a case (email-to-case), there is not a contact record to associate with the case, so the help desk must spend time creating a contact record for the employee before they can proceed with resolving the case. Is there a way to automate or sync with Office 365 to create a contact record for each employee?
I have considered and/tested the options below, but none do what I want:
I have already set up and tested Einstein Activity Capture. This is a great tool but will not sync internal (same email domain) contacts into Salesforce.
I know I can automate an export from Office 365 into an AWS S3 Bucket and then use AWS AppFlow to create/update contact records. This one is feasible, but I have to imaging there is a way to integrate the two platforms without exporting data into a staging area.
I can't use anything that requires manual intervention, like Data Loader.

Is there a way to run email to/from search via the Google Email API?

I haven't been able to find any information on an API that allows to perform an email API log search on G-Suite. For security, we want to be able to have to run a search for, say, all emails originating from user#ourgsuitedomain.com and all emails coming to. While this is possible in admin.google.com, I want to know if it's possible via an API.
All I found about this is outdated threads right here on SO.
The only option to audit emails is to create an email monitor with the Email Audit API, in the case that you may want to implement ver singular search criteria, consider that the API may not fit your requirements completely. You can find the documentation at https://developers.google.com/admin-sdk/email-audit/

Salesforce - HubSpot API calls

in my current company we are using Salesforce and HubSpot, and we have synchronized Contacts and Leads.
HubSpot does around 7000-8000 daily api calls, but I do not know what is the frequency HubSpot connects to Salesforce, or if there are some ways to reduce this number.
Thanks.
Salesforce limits its API calls with the edition and licenses you have see this link
(https://help.salesforce.com/HTViewHelpDoc?id=integrate_api_rate_limiting.htm)
and for reducing the api calls from Hubspot end follow this link
(http://knowledge.hubspot.com/salesforce-integration-user-guide/how-to-adjust-your- salesforce-api-call-limit)
If you go over you're API call quota, Salesforce will send you an automated email letting you know of the overage.
The usage limit for the lowest edition of Salesforce is 15,000. If you're currently at 8k/day, I wouldn't worry yet.

exchange web services with calendar appointments

I'm trying to use exchange web services impersonation to add appointments into calendars. I am using Exchange Web Service Manager API and it worked fine when I tested with one account. Since my application will have to do this operation with about 20 000 accounts I am wondering what is the most efficient way to do it? (if it's possible)
Thanks in advance.
Only option you have is to call CreateAppointment in loop. Each iteration has to have the appropriate user impersonation before creating the appointment using Appointment class
Check this URL for more details: http://msdn.microsoft.com/en-us/library/dd633661%28v=exchg.80%29.aspx

Resources