Skip to main content
Committed ⭐️⭐️
Feb 24, 2025 2:41 PM UTC
Solved

Trigger email notification from Cognite Functions

Is it possible to trigger an email for a set of dynamically provided email IDs from a Cognite function? Since I don’t have a static list, I can’t integrate the Cognite function with the Extraction pipeline to use its notifications. I couldn’t find any documentation on this.

If not, can we integrate a third-party library for sending emails inside a Cognite function?

Jørgen Lund
Product Manager
Feb 25, 2025 8:50 AM UTC

​@Siddharth Anand Hello. Yes, you can leverage a third-party service and library (e.g. Twilio) for sending notifications from a Cognite Function. You’d have to set up the necessary subscription etc. in the third-party service on your own, and provide the right credentials (you can use secrets) to the Function to make the necessary external API calls.

2 replies

Jørgen Lund
Expert ⭐️⭐️⭐️⭐️
Product Manager
Feb 25, 2025 8:50 AM UTC

​@Siddharth Anand Hello. Yes, you can leverage a third-party service and library (e.g. Twilio) for sending notifications from a Cognite Function. You’d have to set up the necessary subscription etc. in the third-party service on your own, and provide the right credentials (you can use secrets) to the Function to make the necessary external API calls.

Committed ⭐️⭐️
Feb 25, 2025 8:54 AM UTC

Thanks ​@Jørgen Lund