Skip to main content

Email

Option 1

Nodes used: SendGrid email

We want to add that the Report a problem flow sends an email to the person in charge of the conneqt system when a problem is reported. We do this by adding an ‘SendGrid email’ node right after the ‘Update’ node.

Image

We fill in the email of the person responsible for the conneqt system in the ‘To’ field. For the subject we click the expression button Image and add Nodes.Name + " reported a problem", similarly in message we add Nodes.ProblemDescription.

When the flow is run, with the name ‘Cobalt’ and the problem description ‘This Flow works as it is supposed to’, the following email is sent out:

Image

Option 2

Nodes used: Message person using medium

We have a flow running some aggregations and updates on assets within our system. Now we want to be able to send out a message to the person in charge of the conneqt system when an error occurs. This can be done very simply by connecting a ‘Message person using medium’ node connected to all the ‘any error’ outputs of the flow, with "at " + new Date() + " an error occurred" in the message line; the person in charge of the system selected under person and email selected under medium.

Image

SMS

Nodes used: MessageBird SMS

We have a flow in our program that we use to notify all the personnel of a department whenever it has successfully executed. We do this by adding a ‘MessageBird SMS’ node to the ‘Any result’ (or ‘specific result’ in certain cases) of the last Expression node. The originator we set to the department’s name, and in the Recipients we fill in all the phone numbers of those working in the department. In the body, we write “The example flow has successfully executed”

Image Image