Skip to main content
Tutorial

Automate the follow-up

A man in his seventies is discharged from the hospital at seven on a Friday evening. He goes home with three new medicines, a diagnosis he did not have on Tuesday, and a discharge summary he will not read. The clinic is closed. Nobody is at a desk to notice that he came home, and by Monday morning the person best placed to help him has no idea it happened. What decides whether he is contacted over that weekend is not diligence. It is whether somebody, months earlier, built the workflow that hears the discharge and starts the follow-up. That is the work in this course: setting up, once, the sequences that then run without anybody remembering them.

Watch it done first​

The rest of this page is the same workflow in text, so you can follow along or come back to it. Nothing below depends on having watched this.

SOURCE

About the recording

The recordings were made before two navigation changes and still show the older left-hand rail.

Leads & Contacts appears as its own entry; it has since been merged under Leads, reached through Population. Campaigns also appears; it is a top-level area that may be switched off for your organization, and it is absent from the environment these pages were checked against.

Everything the recording does — the steps, the fields, the order of the work — is current. Only where you click to start is different, and the text on this page gives the current path.

Narrated. Captions available in the player.Read-only sandbox · synthetic data · rendered composition Narrated. Captions available in the player.Read-only sandbox · synthetic data · rendered composition

What you will be able to do​

  • Choose what an automation is about and what sets it off, and know why a wrong trigger fires too often
  • Build the path through it: actions, branches and waits
  • Send a fax or a form from a workflow, including to a patient's dependents
  • Have diagnosis-gap work assigned to the right person without anybody chasing it
  • Let a workflow telephone a patient without breaching a calling rule
  • Turn one on, test it, and find out why somebody did not receive something

How this fits​

You need Set up your organization first: an automation assigns work to the pools, roles and teams defined there, and reads the holidays recorded there. It sends the forms and content built in Build the forms and content you send. What it produces lands in a coordinator's day, in the courses about worklists, outreach and care programs. And when somebody asks what an automation achieved, the answer comes from running a campaign against a group, if your organization has Campaigns.

An automation has three parts, and it is worth fixing them in that order before touching the builder.

SOURCE

Drawn from the automation engine section of areas/advanced__settings-automations, version 7d6ed37e7b5c42f5: the automation subjects, the step categories, and the step settings that carry frequency, duration, repeat count and minimum gap. Which individual steps appear inside each category is loaded when the builder opens and differs by organization, so no step is named in the diagram that the evidence does not name as a category. The diagram asserts the order of the parts, not a status flow.

Chapter 1 — Choose what it is about, and what sets it off​

Nearly every automation that misfires does so here, and the symptom is always the same: it runs when nobody expected it to.

The Automations list: each automation with its trigger condition and whether it is switched onRead-only sandbox · synthetic data

  1. Open Settings, then Automations.
  2. Pick the subject — what the automation is about. Patients, communication, tasks, scheduling, forms, care journeys, labs, orders, visit notes, referrals, imaging reports, care plans, vitals, memberships, phone trees, and record changes are all subjects an automation can be built on.
  3. Pick the trigger. Triggers are grouped by family: a person registering or matching conditions; an appointment being added, updated, or falling on set days; a message, a tag or a conversation status; a form being submitted; a task being assigned; a lab result, a note being signed or amended, an order; a member's special day.
  4. Read the trigger back to yourself literally. A trigger set on creation fires only when the record is created — viewing or editing it afterward does not fire it again. That is the behavior you want for a welcome sequence and the wrong behavior for a chase.

What done looks like: the list shows your automation with its trigger condition written next to it in plain words, and the switch in the Status column tells you whether it is listening.

Chapter 2 — Build the path through it​

  1. Add the action steps: send a message, a form or a document; create or assign a task; book, reschedule or offer an appointment; place an order; send a reminder; enroll, advance or close a care journey; record or evaluate a measure.
  2. Add the logic between them. Delay waits, and can be held to business hours or told to skip weekends. AND continues only when every input is true and needs at least two inputs. OR continues when any one is. Repeat runs what follows at a set frequency.
  3. Filter who continues. Conditions can test the patient's preferred channel — email, phone or SMS — or match on membership status, contact type, sign-in status, demographics, location, employer, tags, consent, assigned practitioner, care manager and your own custom fields. Where the trigger brought its own context, filters for that context are available too: the appointment, the message, the form, the journey, the task or lab result, the note and its template, status and shareable document.
  4. Set the minimum gap between repeats deliberately. It is the setting that stops the same person being contacted again and again inside one short window, and nothing else in the builder will save you from that.

What done looks like: every branch ends somewhere, the audience count shown at each step while you build is a number you recognize, and the delay you meant as "next working morning" is not going to fire at two in the morning on a Sunday.

Three care journey steps are not available at all: care journey immunization, care journey lab test, and care journey medication.

Chapter 3 — Send a fax from a workflow​

A signed note has to reach a specialist's fax machine. Doing it by hand means somebody has to notice the note was signed.

  1. Add the note filter step, then connect the Send eFax step after it. Connecting it before the filter is refused.
  2. Choose which fax inbox to send from, if your organization has more than one.
  3. Set Attach Shareable Document to yes. With it set to no, no fax is sent.
  4. Fill in subject and message if you want them. Neither is mandatory, so the automation saves without them.

What done looks like: the fax goes out with the shareable PDF attached. It appears on the patient's record under Activities with its subject and message, in Messages under eFax and Sent with its details, and the PDF appears in the patient's documents and in the eFax document folder. The sender is shown as Workflow User, so anyone reading the log can tell a workflow sent it and not a person. Where the same patient is picked up by several automations, each sends its fax independently.

What stops it: an unsigned note. If the note is not signed, the fax does not go. And if fax is not configured for your organization, the step is not in the builder at all — an administrator will not find it by looking harder.

The fax lifecycle itself, and reading a fax that failed, belong to the messaging course; this chapter is only about sending one from a workflow — see Reach the patient, and log it.

Chapter 4 — Send a form, and be exact about who gets it​

An automation can send a form to the patient and to their dependents. The filters are where this goes right or wrong, so set them one at a time.

  1. Choose whether dependents are included. Turn it on and, if the patient has no dependents, nothing extra is sent and no error is raised.
  2. Set the relation. Choose Child and only dependents recorded with that relation receive it. Leave it blank and every eligible dependent receives it.
  3. Set the age rule. Choose all ages and every eligible dependent receives it; set an age limit and only dependents under it do. A dependent whose age is exactly the limit is handled by the age rule you set, so check that boundary against a real record rather than assuming it.
  4. Set the sign-in filter. Everyone sends regardless. Logged In sends only to a person who is signed in when the step runs. Not Logged In sends only to a person who is not. Fold uses the status at the moment of sending, not an earlier one.

What done looks like: the form reaches the patient and exactly the dependents you described, each with their own task and their own tracking entry.

Four behaviors to know before you build one:

  • Inactive and deleted dependents do not receive the form.
  • If the attribute you filter on does not exist on the record, the form is not sent and the run continues safely rather than failing.
  • Attribute and relation matching are sensitive to how the value is written, including its case. Check your configured values against what is actually on the records.
  • Branches that wait for a form to come back are driven by the primary patient's forms only. Dependent forms are sent, but they do not satisfy a wait for any form or all forms to be submitted.

Automations built before this setting existed behave as though dependents are switched off. Nothing changes for them.

Chapter 5 — Have the work assigned without anybody chasing it​

Diagnosis-gap work that lands in nobody's name gets done late. This is the chapter that fixes that, and it depends entirely on the care program team you mapped in Set up your organization.

  1. Build the automation on the diagnosis gap being created or updated.
  2. Have it assign the user mapped to the patient's identifier on the care program team.
  3. Leave existing assignments alone: where somebody has already been assigned by hand, the automation does not override them, and a later automated reassignment leaves the manual one in place.

What done looks like: a gap is created and a named user holds it, without a coordinator opening a worklist to hand it out. The assignment log records that the automation ran, which is how you confirm it worked rather than assuming. Where the identifier does not match, or no identifier is mapped, nobody is assigned — which is the correct behavior, and the first thing to check when work is not arriving. Where a patient matches more than one, the assignment follows the matching rule, by priority or first mapped.

Two things you can rely on at volume: many records processed at once are not mixed up, and a step that has already completed does not complete twice if its trigger fires again. Overnight runs advance statuses inside the agreed service window even when volume is high.

Where an automation drives a review chain, each stage hands to the next as the one before it completes: support completing hands to the coder, the coder completing hands to the first reviewer, then the second, then the third. The statuses themselves — what each stage's states mean and which are terminal — are taught in Work a date of service, which is their one home.

Chapter 6 — Let a workflow telephone a patient​

Where your organization runs automated outbound calling, the calling step carries its own settings and its own safety checks. The checks are the important half.

  1. Set the maximum retry attempts. The default is three, after which the record is escalated.
  2. Set the retry interval — the minimum time between attempts. The default is two hours, and it is always applied inside business hours.
  3. Set the timing: a number of days ahead, or a fixed offset from the event that triggered it.
  4. Add a post-call action if you want one: a message when there is no answer, a task when the call connects, a population group update when the appointment is confirmed.

What done looks like: calls are attempted in a defined order, and every record that should not be called is held with a reason rather than dialed.

SOURCE

Every gate above is an agreed behavior recorded in areas/advanced__settings-automations, version 7d6ed37e7b5c42f5, with the two named record states — Uncallable — No Number and Blocked — No Consent — quoted from it. The queue order it implements is: patients who asked for a callback first, whatever their tier, then high priority, then medium, then low. No timing value appears in the diagram, because the retry count and interval are configurable and their defaults are stated in the prose above rather than drawn as though fixed.

One current limitation to design around: a configured holiday runs from midnight at the start of its first day to 11:59 PM at the end of its last. It does not begin when the working day before it ends, so a call or a phone tree in that evening gap behaves as a normal working evening.

Chapter 7 — Turn it on, test it, and watch it​

  1. Save, then activate. Saving does not enable an automation — activation is a separate, deliberate act, and Fold asks you to confirm when you enable, disable or delete one.
  2. Test it before it matters. Patient and lead automations can be run as a test, and the lightning-bolt control can fire an automation whether it is active or inactive. A test run on an inactive automation skips delay and reminder steps, so do not read a test as proof of your timing.
  3. Watch the counts. Every step shows how many went through it — members, users, tasks or orders — and steps add up the staff time they saved, so an automation carries its own return figure. Open the count on a step and you get the list of people who passed through it, which is how you confirm it reached the patients you intended and find the ones it skipped.
  4. Read the delivery analytics from the bar chart on the list, or from inside the automation. For email you get sent, delivered, accepted, opened, unique opens, clicked and unique clicks; SMS and app notifications have their own breakdowns; and contacts can be filtered by whether the email was read, unread or failed.

What done looks like: you can say who received what, and when.

When you make one inactive, new runs stop and runs in progress pause. Be careful about resuming: a resumed automation does not continue from the exact point it paused. It advances by the time that elapsed while it was inactive.

When somebody did not receive something, work down this list before rebuilding anything:

  • No email address or phone number on the record, or an invalid one
  • A filter excluded them — an app invite step aimed only at people who have never signed in will exclude everyone who has
  • Identical content was already sent to them about an hour earlier, and was rate-limited
  • No default SMS number configured, for an SMS
  • Wording a carrier restricts, for an SMS
  • The message is in their spam or promotions folder, for an email

What you cannot do yourself: cancel a run mid-execution for one patient. That needs Fold Success.

Chapter 8 — Build once, reuse​

If three of your automations end with the same reminder, wait and task, build that once as a micro-automation and call it from each. An automation can call another one, so a common sequence is maintained in a single place. An automation can also be run on a schedule, run against a population group on demand, or attached to a group so it runs for members as they join — which is what turns a group from a list into work that happens. Groups themselves are built in Find the patients who need you.

Automations are also how patients get into care programs without anybody remembering to enroll them: on arrival, when a reassessment is due, when a health risk assessment is completed, on transfer in, on arrival in a scheduled file transfer from a partner, on a transition of care out of a facility, when a population scan finds they now qualify, when coverage ends, when the program period expires, when the health plan takes over management, or through a one-off migration set up for your organization. The programs themselves are taught in Run a care program end to end.

What varies by your organization​

  • Which steps you see in the builder. The step library is loaded when the builder opens, so two organizations see different lists. The categories are always there; the individual steps are not.
  • Which triggers you see. Trigger availability differs by the record system your organization is connected to.
  • Whether the Send eFax step exists. It appears only where fax is configured.
  • The retry count and retry interval on automated calls. Both are configurable; the defaults are three attempts and two hours.
  • Your outbound calling hours and your business hours. Both are your settings, and both gate when a workflow may act.
  • Your holidays. Configured in account settings, and read by the calling step.
  • Whether analytics are scoped by location. Multi-location accounts can require it.
  • How a patient matching several mapped identifiers is resolved. Fold's material records that the assignment follows the matching rule, by priority or first mapped, and does not state which applies to your configuration. Confirm it against your own team setup.

Check yourself​

Your welcome automation is firing every time a coordinator opens the patient's record. What is wrong?

The trigger is not the creation event. A trigger set on creation fires only when the record is created, and viewing or editing it afterward does not fire it again. An automation that fires on a view or an edit is built on a different trigger, and changing the filters will not fix it.

You built a Send eFax step but the automation never faxes anything. Name three things to check.

Whether the note is signed — an unsigned note does not trigger the fax. Whether Attach Shareable Document is set to yes — set to no, nothing is sent. Where the step sits — it has to come after the note filter step, and a connection made before it is refused. If the step is missing from the builder altogether, fax is not configured for your organization.

A form automation sends to a patient and their two children. The next step waits until all forms are submitted. The children complete theirs; the patient does not. Does the automation continue?

No. Wait-for-form branches are driven by the primary patient's forms only. The dependent forms were sent and each has its own task and tracking entry, but they do not satisfy a wait for any form or all forms to be submitted.

Diagnosis gaps are being created but nobody is assigned. What is the first thing to check, and what is definitely not the cause?

Check whether the patient's identifier is mapped to a user on the care program team. Where the identifier does not match, or none is mapped, no user is assigned — by design. Definitely not the cause: a manual assignment being overridden. Automations leave a manual assignment in place, both on first assignment and on any later reassignment.

An automated call is due at 6 pm on Independence Day. What happens, and what happens at 7 pm the evening before?

On the holiday, the call advances to the next valid business day. The evening before is not covered: a configured holiday runs from midnight at the start of its first day to 11:59 pm at the end of its last, so it does not begin when the working day before it ends. Somebody calling in that evening gap gets normal working-evening behavior.

You paused an automation for a week and switched it back on. Where do the paused patients resume?

Not where they stopped. A resumed automation advances by the time that elapsed while it was inactive, rather than continuing from the exact pause point. Plan for that before pausing anything with long delays in it.

A patient says they never got the SMS. What are the first four things to rule out?

A missing or invalid phone number; a filter that excluded them; identical content already sent to them about an hour earlier and rate-limited; and no default SMS number configured. Carrier-restricted wording is the fifth. Rebuilding the automation is not on the list.

Look it up​

  • Automate the follow-up — reference: every trigger family, step category, step setting and analytics metric
  • Next in your path: running a campaign against a group, if your organization has Campaigns.
  • Terms used here that Fold does not define are collected in Vocabulary.

Updated 8 August 2026. Wording clarified. See everything that changed