Spiral gives your agent every tool with one account. Browse the tools →

Zapier · Health

How to Use NHSBSA hospital medicines search in Zapier

Returns medicines issued by NHS trust pharmacies in England, with product quantities and indicative costs. Use it to compare trust activity or follow monthly changes in hospital medicine supply.

Prompts to try with NHSBSA hospital medicines search in Zapier

Copy an example into Zapier, or ask in your own words.

Each month, use NHSBSA hospital medicines search for Cambridge University Hospitals NHS Foundation Trust and summarize changes in returned quantities for matching medicines and units.

NHSBSA hospital medicines searchZapier
Try asking
  • Each month, use NHSBSA hospital medicines search for England with results shown by month and report any revisions to records you returned previously.

  • Each month, use NHSBSA hospital medicines search for Manchester University NHS Foundation Trust and report the returned products with the largest indicative costs.

  • Each month, use NHSBSA hospital medicines search for Cambridge University Hospitals NHS Foundation Trust and flag medicine products that newly appear in the returned results.

  • Each month, use NHSBSA hospital medicines search for Cambridge University Hospitals NHS Foundation Trust and Manchester University NHS Foundation Trust, keep their results separate, and compare quantities for matching returned medicines and units.

How to set up NHSBSA hospital medicines search in Zapier

Pick the way that suits you. Each takes about two minutes.

Use the Spiral skill

  1. Send Zapier this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use Spiral's MCP server

  1. Add an MCP Client connection

    In Zapier open Apps, click Add connection and search for MCP Client. Fill in the form:

    https://api.spiral.ai/mcp
  2. Sign in to Spiral and approve

    Spiral opens: sign in, pick the organization and click Authorize. No API key. Spiral gives the connection its own key; Zapier never sees it, and you can remove it under Settings › Connected apps in the console.

  3. Run a Spiral tool in a Zap

    Add an MCP Client step to a Zap and choose the Run Tool action with your Spiral connection. Pick a tool: discover finds the right model for a task, estimate_cost prices it and run runs it. For example, run with:

    {
      "provider": "fal",
      "model": "fal-ai/flux/schnell",
      "input": { "prompt": "a lighthouse at dawn" },
      "wait": true
    }
  4. Run NHSBSA hospital medicines search in a workflow step

    Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds NHSBSA hospital medicines search, prices it and runs it each time the step fires.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run NHSBSA hospital medicines search

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "alexandria",
        "model": "opendata-nhsbsa-net/hospital-medicines/search",
        "input": {
          "medicine": "<medicine>"
        }
      }'

Then paste one of the prompts above: Zapier finds NHSBSA hospital medicines search on Spiral, shows the price and runs it.

NHSBSA hospital medicines search providers and prices

Spiral runs NHSBSA hospital medicines search through Alexandria. Open a card for today's price, with every fee included.

AlexandriaHealth
NHSBSA Secondary Care Medicines Data (SCMD) · Search
opendata-nhsbsa-net/hospital-medicines/search

Settings you can ask for

Ask Zapier for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Limit1 to 50050

Most rows to return; total_count counts all and totals covers all.

Group byproduct, trust, or monthproduct

product (default): one row per VMP and unit for the whole window. trust: per trust and VMP, with the trust's name. month: per month and VMP, a time series.

Every API field of NHSBSA Secondary Care Medicines Data (SCMD) · Search is on its tool page: open its card above.

What can you do with NHSBSA hospital medicines search in Zapier?

Maintain a monthly review of hospital medicine supply for an English NHS trust. A scheduled agent can flag changes in returned quantities and distinguish revisions to older months from newly returned months.

Trust pharmacy briefing

Summarize the medicines, quantities, and indicative costs returned for an English NHS trust. Give pharmacy teams a concise view of recorded supply activity.

Compare medicine supply across trusts

Compare quantities for matching medicine products and units across selected trusts. Use the differences to frame questions for a pharmacy review.

Monthly supply review

Calculate changes between returned months for the same medicine product and unit. Highlight increases and decreases for review without treating pharmacy issues as patient counts.

Medicine formulation inventory

List the medicine products and units present in a trust's returned records. Build a reference table for analysts comparing different strengths and forms.

Indicative cost concentration

Rank returned medicine products by indicative cost and show which account for the largest shares of the returned subtotal. Label the measure as indicative throughout the report.

Revision monitoring

Compare repeated searches for overlapping trust, month, and medicine records. Separate revisions to previously returned quantities from newly returned reporting months.

Questions about NHSBSA hospital medicines search in Zapier

Can Zapier use NHSBSA hospital medicines search?

Yes. Add Spiral to Zapier as an MCP server, and Zapier can find and run NHSBSA hospital medicines search like any built-in tool.

How much does NHSBSA hospital medicines search cost in Zapier?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Zapier plan is separate.

Do I need an Alexandria account to use NHSBSA hospital medicines search in Zapier?

No. Spiral runs NHSBSA hospital medicines search on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up NHSBSA hospital medicines search in Zapier?

About two minutes: add an MCP Client connection, then sign in to Spiral and approve, then run a Spiral tool in a Zap.

Does Zapier wait while NHSBSA hospital medicines search runs?

NHSBSA hospital medicines search runs in the background. Zapier starts the run, checks on it and gives you the json when it's ready.

Does SCMD cover the whole UK?

Its coverage is NHS trusts in England, including acute, teaching, specialist, mental health, and community trusts. It does not provide a UK-wide hospital medicines total.

How fresh are the figures?

NHSBSA publishes provisional SCMD monthly with a two-month delay. Rx-Info says the previous three months are republished each month to reconcile changes.

How far back does the source's archive go?

NHSBSA's finalised SCMD archive starts in April 2019. That describes the source archive; it does not establish how much history a particular search returns.

Are indicative costs what hospitals actually paid?

No. They do not reflect actual net costs after discounts and rebates, so a sum of indicative costs should not be described as actual hospital expenditure.

Can I identify the manufacturer or brand supplied?

Published SCMD is available at Virtual Medicinal Product level. Actual Medicinal Product detail is outside the publication scope, so these records cannot establish which manufacturer's product was supplied.

Get started

Start using NHSBSA hospital medicines search in Zapier

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Zapier:

Set up Zapier

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options