0% found this document useful (0 votes)
14 views5 pages

Job Scheduling

The document discusses the ability to send emails from Snowflake using Notification Integration. It provides an example of how to create a notification integration and send an email alert. Additionally, it mentions the use of Airflow for job orchestration and the need for job dependencies across systems.

Uploaded by

Akash Kalwani
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views5 pages

Job Scheduling

The document discusses the ability to send emails from Snowflake using Notification Integration. It provides an example of how to create a notification integration and send an email alert. Additionally, it mentions the use of Airflow for job orchestration and the need for job dependencies across systems.

Uploaded by

Akash Kalwani
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Loading Data

Sujith Nair
Cloud Data Architect Learn2Cloud Data Solutions
Snowflake Snowpro Certified
# Can we send emails from snowflake ?

Yes, we can send emails from snowflake using the Notification


integration.

CREATE NOTIFICATION INTEGRATION my_email_int


TYPE=EMAIL
ENABLED=TRUE
ALLOWED_RECIPIENTS=('[email protected]’);

CALL SYSTEM$SEND_EMAIL(
'my_email_int',
'[email protected]',
'Email Alert: Task A has finished.',
'Task A has successfully finished.\nStart Time: 10:10:32\nEnd Time:
12:15:45\nTotal Records Processed: 115678');
# In your project do you use snowflake to send emails ?

Some of our jobs are orchestrated by air-flow and we send job success
and failure emails from it, We also use Notification Integration &
SEND_EMAIL in those cases where we have used tasks to schedule jobs.
# Why do you use air-flow instead of using tasks to schedule
your jobs in snowflake?

There can be scenario in a project where we need to create dependency between


jobs running across systems.

Eg :
• MySQL generating files and they need to be consumed by snowflake.
• Archival of files when processed and consumed by snowflake.
Thank you!

Learn2CloudData Solutions

You might also like