Send Notification 'Job'

Would love a cryosparc job that when run will be used to send a custom message, or metatadata json object of a previous job (which would serve as the input for this notification job)mvia email (ehh) or POST (preferred) to some HTTP endpoint I specify as a job parameter. And for admin purposes, allow the HTTP endpoint to be prepopulated by environment variable.

Use cases:

  • user notifications outside of cryosparc (email, Teams/Slack chat)
  • automation: trigger additional jobs using cryosparc cli based on some custom logic

Hi,

I guess you’ve already looked at the CRYOSPARC_SLACK_WEBHOOK_URL variable, as exemplified in this use case? An external server seems the easiest route to the customisability described.

Cheers,
Yang

Thank you for this. It had escaped my mind. It’s in a step in the right direction, but would be useful for a user to target it only to specific jobs.

there’s also a little tool I wrote exactly for these reasons – it sends a ntfy notification with job name, and also filters them by username

1 Like