Skip to main content
Answer

Trigger email notification from Cognite Functions

  • February 24, 2025
  • 2 replies
  • 50 views

Forum|alt.badge.img

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?

Best answer by Jørgen Lund

@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
Seasoned Practitioner
Forum|alt.badge.img
  • Product Manager
  • Answer
  • February 25, 2025

@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.


Forum|alt.badge.img

Thanks ​@Jørgen Lund