Skip to documentation
NikoHealth integration

Search Expiring Prescriptions

Perform Search Expiring Prescriptions through NikoHealth.

View as Markdown
nikohealth_search_expiring_prescriptions
readnikohealth

Use in a workflow

Copy the discovered node config and fill its params from the input contract. Validate the complete graph before publishing. Integration results use {{node_id.default.field}}. Check business success before dependent writes; completion alone does not prove success.

{
  "_group": "NikoHealth",
  "params": {
    "statuses": [
      "Active",
      "Expired"
    ],
    "timezone": "America/New_York",
    "max_pages": 10,
    "page_size": 100,
    "days_ahead": 30,
    "days_behind": 0,
    "include_archived": false
  },
  "handler": "nikohealth_search_expiring_prescriptions"
}

Action contracts and connections · Run recovery

Inputs

  • days_ahead
    number
    Days Ahead

    Optional numeric value.

    Default: 30

  • days_behind
    number
    Days Behind

    Optional numeric value.

    Default: 0

  • statuses
    multi_select
    Statuses

    Optional list of selected values.

    Default: ["Active","Expired"]

    Options: Active ("Active"), Expired ("Expired")

  • include_archived
    boolean
    Include Archived

    Optional true-or-false value.

    Default: false

  • page_size
    number
    Page Size

    Optional numeric value.

    Default: 100

  • max_pages
    number
    Max Pages

    Optional numeric value.

    Default: 10

  • timezone
    expression
    Timezone

    Optional literal value or workflow expression.

    Default: "America/New_York"

Outputs

  • successSuccess
  • prescriptionsPrescriptions
  • countCount
  • truncatedTruncated
  • total_reportedTotal Reported
  • window_fromWindow From
  • window_toWindow To
  • errorError

Output schema completeness: best_effort_declared

Safety

External effect
read
Confirmation recommended
No
Retry safe
Yes
Dry run supported
No

Schemas

These schemas are first-pass authoring guidance. Runtime validation remains authoritative.

Input schema
{
  "type": "object",
  "properties": {
    "statuses": {
      "type": "array",
      "items": {
        "enum": [
          "Active",
          "Expired"
        ],
        "type": "string"
      },
      "default": [
        "Active",
        "Expired"
      ],
      "description": "Optional list of selected values.",
      "x-workflow-field-type": "multi_select"
    },
    "timezone": {
      "default": "America/New_York",
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "max_pages": {
      "type": "number",
      "default": 10,
      "description": "Optional numeric value.",
      "x-workflow-field-type": "number"
    },
    "page_size": {
      "type": "number",
      "default": 100,
      "description": "Optional numeric value.",
      "x-workflow-field-type": "number"
    },
    "days_ahead": {
      "type": "number",
      "default": 30,
      "description": "Optional numeric value.",
      "x-workflow-field-type": "number"
    },
    "days_behind": {
      "type": "number",
      "default": 0,
      "description": "Optional numeric value.",
      "x-workflow-field-type": "number"
    },
    "include_archived": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    }
  },
  "additionalProperties": false
}
Output schema
{
  "type": "object",
  "properties": {
    "count": {},
    "error": {},
    "success": {},
    "truncated": {},
    "window_to": {},
    "window_from": {},
    "prescriptions": {},
    "total_reported": {}
  },
  "additionalProperties": true
}
View all NikoHealth actions