Skip to content

Centralize Error Email Recipient config in Unsubscribe Link Setup - #229

Merged
DKeatonDC merged 5 commits into
mainfrom
feature/FlowImprovements
Oct 15, 2026
Merged

DKeatonDC merged 5 commits into
mainfrom
feature/FlowImprovements

Conversation

@CraigRWarren

Copy link
Copy Markdown
Contributor

Changes to 5 Flows:

I also added several fault paths and updated text templates for emails to improve error handling.

- Unsubscribe Link Setup: Added a field to set Error Email Recipient.
- Unsubscribe Link Quick: Now gets the Error Email Recipient from the
  setup record and passes it to the subflows.
  Fixes #143.

- Unsubscribe Contacts: Removed hard-coded email from Error Email
  Recipient.
- Unsubscribe Leads: Removed hard-coded email on Error Email
  Recipient.
- Unsubscribe Link No Record Id: Removed Error Email Recipient
  entirely.
  Fixes #209.

- Added Progress Indicator to Unsubscribe Link Setup Flow.
  Fixes #113.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@DKeatonDC

Copy link
Copy Markdown
Contributor

Awesome @CraigRWarren! I'll see if I can review this today

Bumped the project's sourceApiVersion to 68.0 so retrieve picks up
the stageReference and ScreenProgressIndicator fields on this flow,
which were silently dropped at the older project API version even
though the flow's own apiVersion was already 68.0. Each screen is
now wired to one of the 6 setup stages (Welcome, Initial
Configuration, Email Preview, Confirmation, Public IDs, Complete).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@CraigRWarren

Copy link
Copy Markdown
Contributor Author

Great @dirkkeaton . 1 change: The Setup Flow wasn't including the progress indicator because the sfdx-project.json used API 59.0. I updated that to v68.

@DKeatonDC

Copy link
Copy Markdown
Contributor

Got this error when I tried to deploy to my org

ERROR: c:\Users\dirkk\Documents\GitHub\TrueUnsubscribe\force-app\main\default\flows\Unsubscribe_Link_Quick.flow-meta.xml: field integrity exception: unknown (Provide at least one email recipient.)

@CraigRWarren

Copy link
Copy Markdown
Contributor Author

@DKeatonDC I didn't receive that error before, but I see it now. I thought it had to do with the email action version. The Flow was using Simple Email v1.0, but changing it to 3.0.1 didn't fix it. I think the issue is with using a text variable.

CraigRWarren and others added 2 commits October 14, 2026 10:56
Brings the flow up to API 68, adds element descriptions, and drops the
unused error email action and variables.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@CraigRWarren

Copy link
Copy Markdown
Contributor Author

@DKeatonDC I fixed it. The issue is that Email-Simple v1 and v3 use different input variables.

@DKeatonDC DKeatonDC left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploys successfully to my org. Progress bar finally works which is quite exciting!

@DKeatonDC
DKeatonDC merged commit c47ae6b into main Oct 15, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants