Supply Wisdom Documentation

Pod ownership

Who to ask
Product Manager
Alex Alvarez
Overview

The Supply Wisdom Connector brings Supply Wisdom's third-party risk scores and alerts into Fusion. It writes a composite risk score and the Financial, Operations, Compliance, Cyber and ESG scores onto each linked Fusion Vendor, and creates a Supply Wisdom Alert record for each alert Supply Wisdom raises about that vendor.

Supply Wisdom monitors third-party vendors and scores their risk in five categories: Financial, ESG, Compliance, Operations and Cyber. Without the connector, those scores and alerts stay in Supply Wisdom, apart from the vendor records your continuity and resilience teams keep in Fusion. The connector links each Supply Wisdom vendor to a Fusion Vendor once, through the Supply Wisdom Onboarding tab. Two scheduled jobs then keep the scores and alerts on those Vendor records up to date.

Outcomes

  • See each vendor's Supply Wisdom risk scores on the Fusion Vendor record.
  • Keep a dated history of Supply Wisdom alerts against each vendor.
  • Use the scores in Fusion dashboards and reports alongside your services and dependencies.
  • Notify vendor owners and service owners when risk ratings change (with the Supply Wisdom Solution Library package).

How it works

Data flows one way, from Supply Wisdom into Fusion. The connector reads Supply Wisdom's API through a Salesforce Named Credential and never sends Fusion data to Supply Wisdom. Only Vendors that have an SW Vendor ID are processed.

  1. 1
    Link vendors (once per vendor)

    An admin opens the Supply Wisdom Onboarding tab. It lists the vendors in your Supply Wisdom "Critical Tier" that are not yet linked. The admin picks vendors, then matches each to a Fusion Vendor. On Submit, the connector stores the Supply Wisdom ID in the Vendor's SW Vendor ID field.

  2. 2
    Refresh scores

    The vendor job (SupplyWisdomVendorScheduler) reads every Vendor with an SW Vendor ID. For each one it asks Supply Wisdom for the composite risk score and the profile scores for the previous and current quarter, and writes them to the SW score fields on the Vendor.

  3. 3
    Fetch alerts

    The alert job (SupplyWisdomAlertScheduler) asks Supply Wisdom for each linked vendor's alerts since the newest alert already in Fusion, or for the last two years on the first run. It reads up to 50 alerts per page and follows the pages.

  4. 4
    Save alerts

    Each alert becomes a Supply Wisdom Alert record under the Vendor. Alerts are matched on Unique ID (SW Vendor ID + Alert ID), so a repeated alert updates the existing record instead of creating a duplicate.

  5. 5
    Retry slow vendors

    If a call times out, or a vendor has more alert pages than one batch can fetch, the job queues that vendor and runs once more for it at the end. A vendor is retried only once.

Nothing runs until an admin schedules the two Apex classes, SupplyWisdomVendorScheduler (scores) and SupplyWisdomAlertScheduler (alerts), with Setup > Apex Classes > Schedule Apex. The frequency is your choice (for example nightly). Vendor linking is manual, on the Supply Wisdom Onboarding tab.

Key terms

Target
Supply Wisdom's name for a monitored vendor. Each target has a name, a domain and an ID.
SW Vendor ID
The field on the Fusion Vendor that holds the Supply Wisdom target ID. A Vendor with this field filled in is "linked" and is processed by both jobs. A blank value means the Vendor is ignored.
Critical Tier
The list of active targets in your Supply Wisdom organisation that the Onboarding tab offers for linking. Targets outside it are not shown.
Composite risk score
Supply Wisdom's overall vendor score, stored in SW Composite Vendor Risk Score.
Risk category and sub-scores
The five category scores (Financial, Operations, Compliance, Cyber, ESG) and the risk metrics that make up each one, all stored as SW fields on the Vendor.
Supply Wisdom Alert
A record for one alert Supply Wisdom raised about a vendor: its event type, impact level, risk domains, cascading impact and sources. Numbered SWA-00001 and up.
Risk rating levels
Used by the Solution Library notifications: Low (0-5), Moderate (5.1-7), High (7.1-9), Critical (9.1-10).
01

Before you start

Licensing

Supply Wisdom subscription

Fusion does not resell Supply Wisdom. The customer contracts with Supply Wisdom directly, and Fusion sells the connector to customers who have that relationship.

Supply Wisdom Connector

An annual connector fee plus a one-time implementation fee, priced by the number of vendors monitored.

Packages

PackageMinimumNote
The Fusion Framework (ff_2gp)LatestRequired base package. The connector adds fields to its Vendor object.
Supply Wisdom Connector (ffsupplywis_2gp)LatestThe API connection, the SW fields on Vendor, the Supply Wisdom Alert object, the two scheduled jobs and the Onboarding tab.
Supply Wisdom Solution Library (optional)LatestA separate package with a preconfigured SW Summary Dashboard, field sets for the Vendor page, score-change tracking and email notification flows. It is not in the engineering monorepo.

Data

The connector updates fields on existing Fusion Vendor records and creates Supply Wisdom Alert records under them. It never creates or deletes Vendors. All score fields are numbers with two decimal places, labelled with an "SW" prefix.

What moves between the systems

SW Vendor ID (ff_2gp__Vendor__c.VendorID__c)

From Supply Wisdom into Fusion: Target ID. Set on the Onboarding tab. Unique external ID; it is the key for every later call.

SW Composite Vendor Risk Score (CompositeVendorRiskScore__c)

From Supply Wisdom into Fusion: Composite table data: Composite Risk. Read for the previous and current quarter.

SW Financial (Financial__c)

From Supply Wisdom into Fusion: Target profile data: Financial. Sub-scores: SW Revenue Risk, SW Profitability Risk, SW Credit Risk, SW Liquidity Risk, SW Bankruptcy Risk, SW Cashflow Risk, SW Efficiency, SW Financial Negative Incidents.

SW Operations (Operations__c)

From Supply Wisdom into Fusion: Target profile data: Operations. Sub-scores: SW Op Changes (Organizational Changes), SW Disruptions, SW Customer Churn, SW People, SW Operations Negative Incidents.

SW Compliance (Compliance__c)

From Supply Wisdom into Fusion: Target profile data: Compliance. Sub-scores: SW Regulation - BFSI, SW Regulation - Healthcare, SW Regulation - Across Industries, SW Conduct and Policy Management, SW Disclosure & Conflict of Interest, SW Legal Actions, SW Compliance Negative Incidents.

SW Cyber (Cyber__c)

From Supply Wisdom into Fusion: Target profile data: Cyber > Cyber Susceptibility. Sub-scores: SW DNS Health, SW Email Security, SW Fraudeler Domain (Fraudulent Domain), SW Information Disclosure, SW Leaked Credentials, SW Patch Manager (Patch Management), SW IP/Domain Reputation, SW Web Ranking, SW Website Security, SW CDN Security, SW Application Security, SW SSL / TLS Strength, SW Hacktivist Shares, SW Social Network, SW Attack Surface, SW DDos Resiliency, SW Network Security, SW Brand Monitoring, SW Fraudeler Apps (Fraudulent Apps).

SW ESG (ESG__c)

From Supply Wisdom into Fusion: Target profile data: ESG. Sub-scores: SW Environmental, SW Social, SW Governance, SW ESG Negative Incidents.

Supply Wisdom Alert (SupplyWisdomAlert__c)

From Supply Wisdom into Fusion: Alerts. Child of the Vendor (master-detail, Vendor Associated). Fields: Alert ID (id), Event Type (type of event), Impact Level (severity), Cascading Impact (content, rich text), Alert Date (alert date), Risk Domain(s) (category names, one per line), Sources (source plus additional-info links, one per line). Matched on Unique ID = SW Vendor ID + Alert ID.

What you can configure

The field mapping is fixed in code. The only settings are the two batch sizes in the Supply Wisdom Settings custom metadata (Default record). Which SW fields appear on the Vendor page is up to you: add them to the Vendor page layout, or use the Solution Library field sets.

Roles and permissions

Supply Wisdom Admin
Read and edit on Vendor and all SW fields, read and edit on Supply Wisdom Alert, and the Supply Wisdom Onboarding tab. Needed to link vendors. It does not include access to the Supply Wisdom Credentials principal; add that yourself (see setup).
Supply Wisdom User Read-Only
Read on Vendor, the SW fields and Supply Wisdom Alert. For people who view scores but do not link vendors.
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

Change or remove a match before submitting

Required

How to use it

  1. In Step 2, use the row menu on the Selected Vendors table: Edit Fusion Vendor or Remove Fusion Vendor.
  2. Click Back to return to Step 1 and change the selection.

Review a vendor's Supply Wisdom data

Required

How to use it

  1. Open the Vendor record and read the SW score fields.
  2. Open the Supply Wisdom Alerts related list for the dated alerts.

Refresh now instead of waiting for the schedule

Required

How to use it

  1. Schedule SupplyWisdomVendorScheduler or SupplyWisdomAlertScheduler to run once at the next convenient time.
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 Supply Wisdom

    Required

    What must be in place in Supply Wisdom and in Salesforce before you install.

    • A Supply Wisdom account and a Supply Wisdom API key. The customer gives the key to the implementer, or creates an account for them to get it.
    • The vendors you want to monitor set up as targets in your Supply Wisdom Critical Tier.
    • The matching Vendor records already in Fusion. The Onboarding tab links to existing Vendors; it does not create them.
    • Outbound access from Salesforce to https://app.supplywisdom.com (the Named Credential's URL).
    • A Salesforce admin who can edit permission sets, external credentials and scheduled Apex.
    Depends onNothing
  2. 2

    Install the packages

    Required

    • Install The Fusion Framework if it is not already installed.
    • Install the Supply Wisdom Connector for all users.
    • Optionally, install the Supply Wisdom Solution Library package after it.
    Depends onPrepare Supply Wisdom
  3. 3

    Assign the permission sets

    Required

    • Go to Setup > Permission Sets.
    • Assign Supply Wisdom Admin to the people who will link vendors and run the jobs.
    • Assign Supply Wisdom User Read-Only to people who only need to see the scores and alerts.
    Depends onInstall the packages
  4. 4

    Give the admin permission set access to the API key

    Required

    Salesforce sends the API key only for users whose permission set has access to the external credential principal.

    • Clone Supply Wisdom Admin (for example: label SW Admin_NEW). The packaged permission set can't carry this access, so it goes on the clone.
    • In the clone, open User External Credentials (search "external credentials" in Find Settings) and enable Read.
    • In the clone, open External Credential Principal Access, click Edit, and enable SupplyWisdom_Credentials - APIKey.
    • Assign the clone to the same admins instead of, or as well as, Supply Wisdom Admin.
    Depends onAssign the permission sets
  5. 5

    Enter the Supply Wisdom API key

    Required

    The external credential builds the request header "Authorization: api-key <your key>" from the APIKey parameter. Without it every call fails.

    • Go to Setup > Named Credentials and open the External Credentials tab.
    • Open Supply Wisdom Credentials.
    • In Principals, edit (or add) the principal named APIKey and link it to your cloned permission set.
    • Under Authentication Parameters, add a parameter named APIKey whose value is your Supply Wisdom API key.
    • Save. Leave the Supply Wisdom Named Credential as installed; its URL is https://app.supplywisdom.com.
    Depends onGive the admin permission set access to the API key
  6. 6

    Link Supply Wisdom vendors to Fusion Vendors

    Required

    Only Vendors with an SW Vendor ID are refreshed by the jobs.

    • Open the Supply Wisdom Onboarding tab.
    • Step 1: Select Vendors to onboard. Tick the Supply Wisdom vendors you want, then click Next.
    • Step 2: Match Vendors. For each vendor, search for and pick the Fusion Vendor in the Fusion Vendor field. Use Skip to leave one for later.
    • Click Submit. You see "Supply Wisdom Vendors Matched!".
    Depends onEnter the Supply Wisdom API key
  7. 7

    Schedule the two jobs

    Required

    The package installs the jobs but does not schedule them.

    • Go to Setup > Apex Classes and click Schedule Apex.
    • Enter a job name (for example "Nightly Supply Wisdom Alert Update"), choose the class SupplyWisdomAlertScheduler, and set the frequency and start time.
    • Save, then repeat for SupplyWisdomVendorScheduler.
    Depends onLink Supply Wisdom vendors to Fusion Vendors
  8. 8

    Show the scores and alerts on the Vendor page

    Required

    • Add the SW fields you want to the Vendor page layout or Lightning page.
    • Add the Supply Wisdom Alerts related list.
    • If you installed the Solution Library, follow its post-install steps to add the Ongoing Monitoring tab, field sets and dashboard, and to choose which notification flows to activate.
    Depends onSchedule the two jobs
04

Advanced configuration

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

Batch sizesThe Default record of Supply Wisdom Settings holds Vendors Batch Size (default 15) and Alerts Batch Size...

What it is

The Default record of Supply Wisdom Settings holds Vendors Batch Size (default 15) and Alerts Batch Size (default 30): how many Vendors each batch run processes at once.

Why it matters

Each vendor needs several API calls, and Salesforce limits the calls and total wait time in one batch. Smaller batches make timeouts less likely; larger ones finish in fewer batches.

When to change it

  • Jobs regularly leave vendors without updated scores or alerts.
  • You monitor many vendors and want fewer, larger batches.

How

  • Go to Setup > Custom Metadata Types > Supply Wisdom Settings > Manage Records.
  • Edit Default.
  • Set Vendors Batch Size (15 at most) and Alerts Batch Size (30 at most). Higher values are rejected.
Job frequencyHow often SupplyWisdomVendorScheduler and SupplyWisdomAlertScheduler run, set in Schedule Apex.

What it is

How often SupplyWisdomVendorScheduler and SupplyWisdomAlertScheduler run, set in Schedule Apex.

Why it matters

Each run calls Supply Wisdom for every linked vendor. More frequent runs give fresher data but use more API calls.

When to change it

  • You first set up the connector.
  • You add many vendors and runs start to overlap.

How

  • Delete the scheduled job in Setup > Scheduled Jobs and schedule the class again with the new frequency.
06

Troubleshooting

Limitations

  • One way only. The connector reads from Supply Wisdom and never sends Fusion data to it.
  • Only vendors in your Supply Wisdom Critical Tier are offered on the Onboarding tab.
  • Onboarding links to existing Fusion Vendors. It does not create Vendors.
  • A Vendor is linked to one Supply Wisdom vendor, and each Supply Wisdom vendor to one Fusion Vendor.
  • Scores are overwritten on each run. The connector package keeps no score history; score-change tracking comes from the Solution Library.
  • The Supply Wisdom APIs are called one vendor at a time, so runs take longer as the number of vendors grows.
  • Supply Wisdom location data is not brought into Fusion.
  • There is no sync log. Errors in a run are not recorded on any record and no email is sent.
  • If the Onboarding tab is closed before Submit, it reopens where you left off. Refresh the page to start again from Step 1.

Common problems

The Onboarding tab shows an error toast such as "Callout Failed", or the list of vendors is empty.

Check that the API key is entered on the Supply Wisdom Credentials APIKey principal, and that your user has a permission set with access to that principal and Read on User External Credentials. An empty list can also mean every Critical Tier vendor is already linked.

Scores or alerts never appear on a Vendor.

Check the Vendor has an SW Vendor ID, and that both jobs are listed in Setup > Scheduled Jobs. Check Setup > Apex Jobs for failed runs. The user who scheduled the jobs needs the API key access and edit access to Vendor and Supply Wisdom Alert.

Some vendors are updated and others are not after a run.

Calls that time out are retried once at the end of the run. If a vendor still fails, lower the batch sizes in Supply Wisdom Settings and let the next run pick it up.

"Error! You have already matched <vendor> to <vendor>."

Each Fusion Vendor can be matched to only one Supply Wisdom vendor. Pick a different Fusion Vendor or remove the other match.

"Alerts batch size cannot exceed 30" or "Vendors batch size cannot exceed 15"

Enter a value at or below the maximum in the Default Supply Wisdom Settings record.

Flag a problem