How to send error messages from code snippets to a specific Gmail account for a team plan instead of the admin?

This topic was automatically generated from Slack. You can find the original thread here.

Hii , how can we post an error message in code snippet to a particular gmail account for a team plan as by default it is sending it to admin

Hello , I’m not really sure what you mean. Could you provide some examples for your usecase?

In a nodejs code snippet whenever we get an error we need to send a mail

by default using $.send.email() it sends to the admin for team plan but we need to send it to particular mail id

I see , then for you usecase, you can follow this doc to create a workflow to handle your workflow errors, in the new workflow, you can define actions such as sending email or sending Slack message