Sending Email

Let's look at sending email from a workflow: the three kinds, who it goes to, attachments, testing, and what to check when one doesn't arrive.

  • Video 22 of 31
  • 4:54
  • Transcript below
On this page
  1. Chapters
  2. Read the docs
  3. Transcript

Chapters

  1. 0:00 Intro
  2. 0:11 The idea
  3. 0:27 In your app
  4. 0:46 Three kinds of email
  5. 1:32 Who it goes to
  6. 2:02 Attachments
  7. 2:19 Setting it up
  8. 2:47 Testing
  9. 3:05 When it doesn't arrive
  10. 3:52 Rules

Read the docs

Transcript

Show the full transcript

0:00 Intro

Let's look at sending email from a workflow: the three kinds, who it goes to, attachments, testing, and what to check when one doesn't arrive.

0:11 The idea

Think of the mail a clinic sends. A form letter, the same every time, with the name and date filled in. A quick note, written for one moment. And a designed card, with its own layout. A workflow sends all three.

0:27 In your app

Here it is at Brookside Family Clinic. Ana Ruiz's appointment is marked Confirmed. A step makes a directions PDF. Send Email writes to Ana, copying her provider, Dr. Shah, with the PDF attached: when, where, and a portal link. Nothing about why she's coming.

0:46 Three kinds of email

In the Send Email step, Email source picks the kind. Saved email templates come first, like Appointment Confirmation, the form letter. Simple Email is the quick note. And Build Custom Email opens a drag-and-drop designer for the card. Pick a template, and its wording and recipients come with it. The step fills in its parameters, like the patient's name and the date. Overrides can change the subject or sender, for this step only. Simple Email is written right in the step. A subject. Send to, Cc and Bcc. From name and From email. And the content, with slash for values and Fallback when blank for empty ones, as in video four.

1:32 Who it goes to

Recipients can come from fields. In Send to, choose a value: Connected Data, Patient, Email. Now every run writes to that appointment's own patient. In Cc, pick Provider, Email, so her provider gets a copy. A connection can hold several records. This appointment's care team has two people. Point Cc at Care team, Email, and both get a copy. And Bcc sends a hidden copy to the front desk.

2:02 Attachments

Attachments sends files along. Add attachment lists the record's file fields, and files from earlier steps: a PDF page or form, or a CSV or JSON export. Pick Create PDF Page, and the directions go with every email.

2:19 Setting it up

Setting it up: under Create PDF Page, add a step, Action, then Send Email. Email source, Simple Email. Subject, your appointment is confirmed. Send to the patient's Email, Cc the provider's. Write the content: date, time, location and portal link. Attach the PDF from Create PDF Page. Save, and it's live.

2:47 Testing

Before a patient sees it, send it to yourself. Put your address in Send to, Run now on one appointment you pick, and read it the way Ana would. Or turn on Temp Mail Mode, in Email Settings. Every email the app sends then waits in the Temp Mail Box, and nobody else gets it.

3:05 When it doesn't arrive

When an email doesn't arrive, start with the run. Run history shows the email step: sent, and handed to the mail server. If every recipient was blank, it says no recipients. Next, Email Settings, Email Logs lists every email the app sent, with its status. Click a failed one, and Metas shows the error. Emails normally go out from the platform's address. On the SMTP tab, Use custom SMTP server sends them through your own mail server, with its host, port, username and password, from your own address. Send Test Email checks it first. The same step fits any business. An order is confirmed. The customer gets the confirmation, and the sales rep gets a copy.

3:52 Rules

Three rules to keep track of. Rule one: test with your own address first. A test run sends nothing, so it never shows the real email. Send one to yourself. Then switch Send to back to the patient, and save. Rule two: no diagnoses or results in email. Keep the email to the date, the time and the place. Health details stay in the app, and the portal link takes the patient there, after signing in. Rule three: check the email log before anything else. Sent means the mail server accepted it, so check the patient's spam folder next. Failed shows the reason, like a wrong password on your mail server. That's sending email. Pick the kind: template, simple, or custom. Send it to fields and connected records, with files attached. Test it on yourself, and check the log when one goes missing. Next, calling any API. What each plan includes is on the pricing page at tadabase.com.

Also on Vimeo · the whole series on Vimeo