AlertMedia Documentation

Pod ownership

Who to ask
Product Manager
David Halford
Overview

The AlertMedia Connector links Fusion with AlertMedia, an emergency notification and threat intelligence system. It keeps Fusion people and groups (Key Contacts, Teams, Rosters and their members) in line with AlertMedia users and groups, brings AlertMedia notifications tied to a Fusion Incident back into Fusion, and can import AlertMedia threat intelligence into Fusion Situational Awareness.

During a crisis, teams need to send the right message to the right people quickly, and they need a record of what was sent. The connector keeps the contact data that AlertMedia sends to in step with the contact data held in Fusion, so notifications reach the people your Fusion plans name. Notifications sent in AlertMedia for an event linked to a Fusion Incident come back into Fusion, so the response and its communications sit in one place for after-action review. Customers who also subscribe to AlertMedia threat intelligence can bring those threats into Fusion to triage them next to their sites and assets.

Outcomes

  • Contacts and groups in AlertMedia stay aligned with Key Contacts, Teams and Rosters in Fusion.
  • Notifications tied to a Fusion Incident are visible on the Incident record for after-action reporting.
  • Users can move from a Fusion Incident to AlertMedia with recipients and incident details already filled in (deep linking).
  • Threat intelligence from AlertMedia arrives in Fusion automatically, without manual entry.

How it works

The package does three separate jobs. Contact sync runs as scheduled or manual Sync Jobs, in whichever direction each Sync Action is set to. Notification retrieval runs inbound when an Incident linked to an AlertMedia event closes. Threat sync runs inbound on its own schedule. All calls to AlertMedia go through a Named Credential called AlertMedia that the customer creates.

  1. 1
    Map fields

    An admin creates Service Maps that pair a Fusion field with an AlertMedia field and set the direction (Inbound, Outbound or Both). Only mapped fields move.

  2. 2
    Define the Sync Job

    An admin creates a Sync Job and adds Sync Actions to it. Each Sync Action names one Fusion object, a Direction (Inbound or Outbound), an Operation Type (Insert, Update or Delete), an Order and a Batch Size. Sync Action Criteria can filter which Fusion records go out.

  3. 3
    Run the Sync Job

    The Sync Job runs on its schedule, or when someone clicks Run Sync Job. Its enabled Sync Actions run one after another in Order. Each run writes Sync Log records (start, actions, errors, finish) and sets Last Run Start and Last Run Finish on the Sync Job.

  4. 4
    Bring groups in

    An inbound Insert on Team or Roster creates Group Proxy records from AlertMedia groups. An admin then converts Group Proxies to Teams or Rosters with Convert Group Proxy or Convert Group Proxies.

  5. 5
    Link an Incident to an AlertMedia event

    The Alert Media Event Id field on the Incident holds the AlertMedia event that the Incident is linked to. It is filled in automatically when notifications are sent through the deep link.

  6. 6
    Retrieve notifications

    When a linked Incident moves to a closed status, Fusion sets Retrieve Notifications on it and queues a batch job that pulls that event's notifications from AlertMedia into Notification records. Users can also pull them on demand with Save to Fusion on the Incident page.

  7. 7
    Poll delivery statistics

    For notifications that report delivery statistics, a polling job updates recipient counts and per-recipient delivery status until the notification is Complete.

  8. 8
    Import threats

    When threat sync is scheduled, Fusion pulls AlertMedia threats into Situational Awareness Threat records and their locations into Location (Fusion) records. Existing threats are updated, not duplicated.

Sync Jobs run Daily, Weekly or Monthly at a chosen Execution Time (15-minute steps), or on demand with the Run Sync Job button. Threat sync runs every N minutes or hours, set on the Threat Sync Settings tab (minimum 5 minutes; scheduled job name AMThreatSync). Notification retrieval runs when a linked Incident closes. Delivery-statistics polling starts after notifications are retrieved or sent.

Key terms

Service Map
One field pairing between a Fusion object field and an AlertMedia field, with a Direction of Inbound, Outbound or Both. Key Contacts map to AlertMedia users; Teams and Rosters map to AlertMedia groups.
Sync Job
A container for Sync Actions and their logs. When Scheduled is checked, it runs on its Interval and Execution Time.
Sync Action
One operation (Insert, Update or Delete) on one Fusion object, in one direction, within a Sync Job.
Sync Action Criteria
A rule (Field, Operator, Value) that limits which records a Sync Action processes.
Sync Log
A record of one event in a Sync Job run. Error Event is checked on error entries. Messages start with prefixes such as [ SCHEDULED START ], [ MANUAL START ], [ ACTION ], [ ERROR ] and [ FINISH ].
Group Proxy
A holding record for an AlertMedia group brought into Fusion. It is converted into a Team or a Roster.
Notification
The Fusion copy of an AlertMedia notification, with its type, channels, message, status and delivery counts. Notification Key Contact, Notification Team and Notification Roster link it to its recipients.
Alert Media Event Id
The AlertMedia event linked to a Fusion Incident. Users do not edit it.
Situational Awareness Threat
The Fusion Framework object that stores threats from any feed. Threats from this connector have Data Feed Source set to AlertMedia.
01

Before you start

Licensing

AlertMedia licence

The customer needs an active AlertMedia licence and a configured AlertMedia instance.

Two separate offerings

The notification (ENS) connector and the Threat Intelligence connector are separate offerings and are purchased separately. Threat sync also needs the customer's AlertMedia threat intelligence subscription.

Packages

PackageMinimumNote
The Fusion Framework (ff_2gp)LatestRequired base package. Provides Key Contacts, Teams, Rosters, Incidents and the Situational Awareness objects.
Fusion AlertMedia Connector (ffam_2gp)LatestThe connector. On install it registers itself in the Fusion Extensions setting as AlertMediaConnector.

Data

Contact data moves in both directions, as each Sync Action is configured. There is no default two-way sync. Notifications and threats only move into Fusion.

What moves between the systems

Key Contact (ff_2gp__Key_Contact__c)

Both ways between Fusion and AlertMedia: AlertMedia users. Matched on Alert Media Id. Last Inbound Sync and Last Outbound Sync record when the record last moved. Only fields with a Service Map move.

Team (ff_2gp__Team__c) and Roster (ff_2gp__Roster__c)

Both ways between Fusion and AlertMedia: AlertMedia groups. Matched on Alert Media Id. Inbound inserts create Group Proxy records, not Teams or Rosters directly. Groups can only be mapped to Name and Description in AlertMedia.

Team Member (ff_2gp__Team_Member__c) and Roster Member (ff_2gp__Roster_Member__c)

Both ways between Fusion and AlertMedia: AlertMedia group membership. AlertMedia Id holds the combined AlertMedia Ids of the Key Contact and the group. Membership only syncs for contacts and groups that are already linked.

Group Proxy (Group_Proxy__c)

From AlertMedia into Fusion: AlertMedia groups. Stores group name, Description and AlertMedia Id until converted to a Team or Roster.

Notification (AlertMediaNotification__c) and its recipient junctions

From AlertMedia into Fusion: AlertMedia notifications for an event. Only notifications for an AlertMedia event linked to a Fusion Incident come in. Recipient ids with no matching Fusion record are listed in Unsynced User Ids and Unsynced Group Ids.

Situational Awareness Threat (ff_2gp__Situational_Awareness_Threat_FRM__c)

From AlertMedia into Fusion: AlertMedia threat intelligence threats. Upserted on Source Id. Fills source fields only: start and published dates, title, urgency (Source Severity), category, subcategory, status and message.

Location (Fusion) (ff_2gp__Location_FRM__c)

From AlertMedia into Fusion: Locations attached to each threat. Upserted for each successfully saved threat.

What you can configure

Field mapping for contacts and groups is set on the Service Map tab. Which records go out is set with Sync Action Criteria. Custom fields can only be added to the user object in AlertMedia, so Team and Roster maps are limited to Name and Description. Inbound data cannot be filtered in the connector: everything AlertMedia returns is mapped. Threat field mapping is fixed in code.

Roles and permissions

AlertMedia Admin Permissions
Access to the connector's tabs, Visualforce pages and objects (Notifications, Group Proxies, Service Maps, Sync Jobs, Sync Actions, Sync Action Criteria, Sync Logs), the Threat Sync Settings tab, and the Fusion Key Contact, Team, Roster, member, Situational Awareness Threat, Location and Threat Asset objects it writes to.
FFAM_AuraEnabledApexPermissions
Apex class access for the connector's Lightning components.
02

Capabilities

What each part of the connector does and how people use it. Setup for each is under Implementation.

Required always set up Optional included, set up if the customer uses it

Run a contact sync now

Required

How to use it

  1. Open the Sync Job and click Run Sync Job.
  2. Open its Sync Logs to see what ran and any errors.

Review notifications for an Incident

Required

How to use it

  1. Open the Incident and find the AlertMedia notifications component.
  2. Click Refresh to see the latest notifications, and Save to Fusion to store them on the Incident.

Send a notification from Fusion

Required

How to use it

  1. Use the button the admin configured on the Incident page to launch the send flow.
  2. The flow opens AlertMedia with recipients and incident details filled in, and links the AlertMedia event to the Incident.
03

Implementation

Everything an implementer sets up, in the order to build it. Advanced configuration explains the settings behind these steps and when to change them.

  1. 1

    Prepare AlertMedia

    Required

    What must be in place in AlertMedia and in Salesforce before you install.

    • An AlertMedia Account Admin user with API access enabled, for the connection.
    • AlertMedia API credentials (client ID and client secret key) for the Named Credential.
    • For threat sync, an AlertMedia service account with API credentials for threat intelligence.
    • For deep linking, each user needs an account in both Fusion and AlertMedia, with AlertMedia permission to send notifications.
    • Single Sign-On between Fusion and AlertMedia is highly recommended. Without it, users log in to AlertMedia after each link.
    Depends onNothing
  2. 2

    Install the package

    Required

    The managed permission sets can't be edited. Extend access with your own permission sets or permission set groups.

    • Install The Fusion Framework first, then the Fusion AlertMedia Connector.
    • Assign AlertMedia Admin Permissions to the admins who will configure the connector.
    Depends onPrepare AlertMedia
  3. 3

    Create the AlertMedia Named Credential

    Required

    Every call to AlertMedia, including threat sync and deep links, goes through this credential.

    • In Setup, create a Named Credential with the name AlertMedia. The connector calls it by that exact name.
    • Set the URL to the customer's AlertMedia API endpoint.
    • Use Named Principal with password authentication. Use the AlertMedia client ID as the username and the client secret key as the password.
    • Open the Service Map tab and create a map. If the connection fails, Fusion shows "Unable to connect to AlertMedia. Please check your Named Credential settings and try again."
    Depends onInstall the package
  4. 4

    Map fields

    Required

    • On the Service Map tab, choose a Fusion Object, a Fusion Field and an AlertMedia Field.
    • Set Direction to the way the data should flow. Use Both only when the same map serves inbound and outbound jobs.
    Depends onCreate the AlertMedia Named Credential
  5. 5

    Create Sync Jobs and Sync Actions

    Required

    • On the Sync Job tab, click New. Check Scheduled and set Interval, Execution Time and, for weekly or monthly jobs, Day of the Week or Day of the Month.
    • Add a Sync Action for each object and operation. Set Order, Fusion Object, Direction, Operation Type, Batch Size and Enabled.
    • Add Sync Action Criteria to outbound actions that should only send some records.
    • Run the job once with Run Sync Job and check its Sync Logs.
    Depends onMap fields
  6. 6

    Convert inbound groups

    Required

    Group Proxies already held as a Team or Roster are not converted again; they are reported as duplicates.

    • After an inbound Team or Roster insert, open the Group Proxy tab.
    • Use Convert Group Proxy on one record, or Convert Group Proxies from the list, to create Teams or Rosters.
    Depends onCreate Sync Jobs and Sync Actions
  7. 7

    Show AlertMedia notifications on Incidents

    Required

    • Add the Inbound Incident Notifications Sync component to the Incident record page (a Notifications tab is recommended).
    • Set its Title. To show a button that launches a send flow, set both Flow API Name and Flow Title.
    Depends onConvert inbound groups
  8. 8

    Turn on threat sync (Threat Intelligence offering only)

    Required

    • Make the Threat Sync Settings tab visible to the admin who schedules the sync.
    • Set Sync Frequency and Unit Type, then click Schedule Sync.
    • Check that Next Scheduled Sync shows a date. Click Discontinue Future Syncs to stop.
    Depends onShow AlertMedia notifications on Incidents
04

Advanced configuration

The settings behind the setup steps: what each one is, why it matters and when to change it.

Sync Action Batch SizeHow many records one Sync Action processes per batch.

What it is

How many records one Sync Action processes per batch.

Why it matters

Outbound Key Contact, Team and Roster actions make one AlertMedia call per record, and Salesforce limits calls per batch.

When to change it

  • An outbound job hits limits or runs slowly.

How

  • Keep outbound Key Contact, Team and Roster actions at 100 or less (99 or less for Delete). The Sync Action won't save above that.
Log Payload on API ErrorWhen checked, the content of a failed AlertMedia call is saved as a text file.

What it is

When checked, the content of a failed AlertMedia call is saved as a text file.

Why it matters

It shows exactly what was sent when AlertMedia rejects a record.

When to change it

  • Troubleshooting a repeated sync error.

How

  • Check it on the Sync Action, run the job, review the file, then uncheck it again.
Which Incident statuses count as closedNotification retrieval starts when a linked Incident moves into a closed status. Closed statuses come from...

What it is

Notification retrieval starts when a linked Incident moves into a closed status. Closed statuses come from the Fusion Incident Status Mapping setting; if none are set, only Closed counts.

Why it matters

If your Incidents use other closing statuses, notifications won't be retrieved automatically.

When to change it

  • Your org uses custom Incident statuses.

How

  • Add your closing statuses to the Closed bucket of the Incident Status Mapping setting.
Threat sync frequencyHow often threats are pulled from AlertMedia.

What it is

How often threats are pulled from AlertMedia.

Why it matters

A shorter interval surfaces threats sooner but makes more API calls.

When to change it

  • Setting up threat sync, or when threats arrive later than expected.

How

  • On Threat Sync Settings, set the frequency and click Schedule Sync. Values under 5 minutes are refused.
06

Troubleshooting

Limitations

  • Inbound sync can't be filtered. Every user and group AlertMedia returns is mapped into Fusion.
  • Only Key Contacts, Teams, Rosters, Team Members and Roster Members sync. Locations, plans and incidents do not go to AlertMedia.
  • Membership only syncs for contacts and groups already linked in both systems.
  • Outbound deletes follow Fusion record deletion. A record that stays in Fusion but should leave AlertMedia needs extra automation.
  • Only notifications tied to an AlertMedia event linked to a Fusion Incident come into Fusion.
  • Deep linking works from Incidents only, and only Incident Teams and Key Contacts can be chosen as recipients.
  • Up to 2,000 Teams or Key Contacts can be selected for one notification. Above that, users must pick contacts individually.
  • Threat data only flows from AlertMedia into Fusion.
  • One AlertMedia instance per org. Multiple instances or multi-tenancy are not supported.
  • Travel risk monitoring is not supported.

Common problems

Sync Log shows "400 Bad Request – Unable to sync memberships" with "id missing" after a Roster Member was deleted.

The deleted record is still in the Salesforce Recycle Bin and the daily job keeps trying it. It stops when the record is permanently deleted (up to 14 days). Empty it from the Recycle Bin to stop it sooner. Review other errors normally.

Unable to connect to AlertMedia. Please check your Named Credential settings and try again.

Check the Named Credential is named AlertMedia, its URL, and the client ID and secret.

Please set the Sync Frequency greater than or equal to 5 minutes

Enter 5 or more minutes (or 1 or more hours) on Threat Sync Settings.

Threat Sync Settings warns that Situational Awareness Threat or Location is missing Edit permissions.

The scheduling user needs create and edit on Situational Awareness Threat, and create, edit and delete on Location (Fusion), plus field edit access. Fields without access are skipped.

This user does not have permission to execute the specified Sync Job.

Assign AlertMedia Admin Permissions, or equivalent access to the Sync Job objects.

Threats stop arriving with no message on the page.

Check Fusion Framework Log Item records with source SyncThreatsBatch for the error.

A Notification won't save with "Cascade orders have to be unique." or "Cascade Channel Delay cannot be less than 300".

Give each channel a different cascade order and use a delay of 300 seconds or more.

Flag a problem