Admin Workspace
ProcessCampaign registers the Setup > Campaigns workspace inside ProcessReactWorkspace (React) with a unified sidebar, live KPI summary cards, quick actions, and virtual React Data Providers backed by the five managed SQL tables.
Sidebar Navigation & Sections
Section titled “Sidebar Navigation & Sections”The workspace sidebar organizes every operational view into three groups:
| Group | View | Backing Store | Required Permission |
|---|---|---|---|
| Messaging | Overview | Aggregated KPIs + recent entries | campaign-view |
| Messaging | Campaigns | campaign Entries collection |
campaign-view (campaign-manage to edit) |
| Messaging | Sendouts | campaign-sendout Entries collection |
campaign-view (campaign-manage to dispatch) |
| Audience & Delivery | Mailing Lists | campaign-mailing-list Entries collection |
campaign-view (campaign-manage to edit) |
| Audience & Delivery | Subscribers | campaign:subscriptions SQL data provider |
campaign-view (campaign-manage to subscribe/import) |
| Audience & Delivery | Segments | campaign-segment Entries collection |
campaign-view (campaign-manage to edit) |
| Audience & Delivery | Suppressions | campaign:suppressions SQL data provider |
campaign-view (campaign-manage to add/remove) |
| Audience & Delivery | Event Log | campaign:events SQL data provider |
campaign-view |
| Configuration | Campaign Types | campaign-type Entries collection |
campaign-view (campaign-admin to edit) |
| Configuration | Settings | campaign-settings Entries singleton |
campaign-admin |
Role-Based Access Control (RBAC)
Section titled “Role-Based Access Control (RBAC)”Campaign installs three granular ProcessWire permissions:
| Permission | Scope |
|---|---|
campaign-view |
Read-only access to the Overview dashboard, Campaigns, Sendouts, Mailing Lists, Subscribers, Segments, Suppressions, Event Log, and delivery reports. |
campaign-manage |
Full operational access to create, edit, duplicate, preview, test-send, schedule, and dispatch campaigns and sendouts, manage lists and segments, import/export CSV subscribers, and sync ProcessWire user roles. |
campaign-admin |
Full administrative access including Campaign Types schema configuration, Settings (campaign-settings), ESP webhook secrets, and delivery throttling controls. |
React Data Providers & Relation Resources
Section titled “React Data Providers & Relation Resources”Because subscriber rows, recipient logs, tracking events, and suppression entries live in indexed SQL tables rather than Entries pages, ProcessCampaign registers four virtual React Data Providers (campaign:*) and three Relation Resources for cross-module pickers:
campaign:subscriptions: Powers the Subscribers table with list filtering, status badges, inline subscribe, CSV import/export, and manual unsubscribe actions.campaign:recipients: Powers per-sendout recipient delivery reports (status, attempts, ESP message ID, open/click counts, error details).campaign:events: Powers the Event Log table with chronological open, click, bounce, complaint, unsubscribe, and webhook events.campaign:suppressions: Powers the Suppressions table with reason filtering, soft-bounce counts, manual email blocking, and removal.- Relation Resources:
campaign(CampaignRelationResource),mailing_list(MailingListRelationResource), andcampaign_segment(SegmentRelationResource) expose searchable pickers acrossEntriesblueprints and sibling modules such asFormsandAccount.
ProcessCampaign Workspace Actions
Section titled “ProcessCampaign Workspace Actions”Operational buttons in the workspace invoke CSRF-protected ProcessCampaign endpoints:
- Preview (
executePreview): Renders a campaign in desktop or mobile viewport with a real or sample contact merged into placeholders. - Send Test (
executeSendTest): Dispatches a single test message to one or more email addresses with[TEST]subject tagging. - Dispatch / Cancel Sendout: Triggers
Campaign::sendNow()or cancels an active/scheduled sendout. - Sync User Roles: Runs
SyncUserRolesQueue(or synchronous sync) to mirror ProcessWire roles configured on mailing lists. - Import / Export Subscribers: Streams UTF-8 CSV imports with optional immediate confirmation and exports filtered subscriber lists via
TransferService.