Notification
Sends an e-mail when the call passes through, with your variables in both the recipient and the text. The call continues on its way in every case.
In brief
| Outputs | one |
| Fields | Destination e-mail address: and Message text: |
| Variables | {{name}} accepted in both the recipient and the text |
| E-mail subject | "Axivox Notification", sent from no-reply@axivox.com |
| Message format | plain text |
| If the recipient is empty | nothing is sent, and the call still continues to its output |
| If the output is not connected to anything | the call is hung up |
How it works
When the call passes through, the {{variable}} entries in the recipient and the text are replaced by their value, then the e-mail is sent.
If, after replacement, the recipient is empty, no e-mail is sent. The call still continues to the module's output: this is one of two modules that never end the call for their own reason, along with Record. Nothing is flagged on screen, and that is precisely why a silent notification can go unnoticed for months.
The general rule then applies as everywhere else: if the module's output is not connected to anything, the call is hung up, once the e-mail has been sent.
What to fill in
| Field | What is expected | If you leave it empty |
|---|---|---|
| Destination e-mail address: | an address, or a {{variable}} that contains one | no e-mail is sent, with no warning, and the call continues to the output |
| Message text: | the body of the e-mail: free text and as many {{variable}} entries as needed | the e-mail is sent with an empty body |
The usable variables are the built-in variables, {{caller}}, {{caller_name}}, {{callee}}, {{did}}, {{datetime}} and others, plus those set earlier in the plan by a Variable module, a DTMF entry, an API request or an Odoo module. A variable unknown at this point is replaced with blank.
Steps
- Choose the point in the path you are interested in: the
timeoutoutput of a queue, theunknownbranch of an access list, the closed window of a time condition. - Place the Notification module at that point and connect the previous node to its input.
- Open it and enter the address in Destination e-mail address:.
- Write the Message text:, placing the useful variables in it, for example
Unhandled call from {{caller}} on {{datetime}}. - Recheck the recipient: a misspelled address produces no alert, and the plan will carry on as if nothing were wrong.
- Connect the output to the rest of the path.
- Click Apply changes.
- Call in a way that goes through this specific branch, then check that the e-mail arrives.
If it doesn't work
No e-mail arrives. Check the address first. If it is written with a {{variable}} and that variable has no value at this point in the plan, the recipient becomes empty after replacement and nothing is sent. The call continues the same way in both cases, so nothing flags it to you.
The e-mail arrives, but values are missing from the text. The variables concerned do not exist at this point in the plan and were replaced with blank. The module that sets them, Variable, DTMF entry, API request or Odoo, must be placed before the notification in the path.
The caller's name is empty in the e-mail. No name is presented by the carrier for this call, and no Caller ID module set one earlier. {{CALLER_NAME}} then has nothing to pick up.
The call is hung up after the notification. The output is not connected to anything. The module never ends the call for its own reason: what ends it here is the missing connection.
The e-mail lands in spam. The sender is no-reply@axivox.com and the subject "Axivox Notification". Add this sender to your mailbox's trusted addresses, or create a filtering rule for it there.
How the call flow is built, explained in pictures
See the Dial plans page