> For the complete documentation index, see [llms.txt](https://docs.silkline.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.silkline.ai/configuration/integrations/procurify.md).

# Procurify

Overview of the Silkline Procurify integration

## Overview

Silkline's Procurify integration allows customers to read procurement data from Procurify into Silkline, including purchase orders, requisitions (requests), suppliers, catalog items, and users. This is an ingest-only integration — data flows from Procurify into Silkline, not the other direction.

## Prerequisites

To complete your Procurify integration, you will need:

* Access to manage integrations settings in Procurify.
* A Procurify **Client ID** and **Client Secret** (OAuth credentials)
* Your Procurify **Base URL** (e.g., `https://<your-org>.procurify.com`)

## Instructions

{% stepper %}
{% step %}

#### Get your Procurify Base URL

Your base URL is the URL you use to access Procurify, typically in the format `https://<your-org>.procurify.com`.
{% endstep %}

{% step %}

#### Get your API Bearer Token

Directions are also [here](https://developer.procurify.com/tag/oauth).

1. In your Procurify account, navigate to **Settings** in the left navigation bar.
2. Go to the "Tools" section and then to "Integrations".
3. Click the "View" button next to the API item.
4. Enter a description such as "Silkline Integration", and click "Create Application".
5. On the next page, copy and save the **Client ID** and **Client Secret** to a secure location.
   * The Client Secret is only shown once — be sure to save it!
     {% endstep %}

{% step %}

#### Configure the Integration in Silkline

Follow the [Managing Integrations](https://docs.silkline.ai/configuration/integrations/managing-integrations.md) guide to create your Procurify integration in Silkline. When prompted, provide:

* **Procurify Base URL**: Your organization's Procurify URL (from Step 1)
* **Client ID**: The Client ID obtained in Step 2
* **Client Secret**: The Client Secret obtained in Step 2
  {% endstep %}
  {% endstepper %}

## What Gets Synchronized

All data flows from Procurify into Silkline (ingest only).

### Purchase Orders into Orders

Purchase orders and their line items, including supplier, pricing, quantities, currency, order status, delivery terms, payment terms, shipping method, and ship-to/bill-to addresses.

### Orders (Requisitions) into Requests

Procurify "Orders" (requisitions) are synced into Silkline Requests, including request number, status, description, need date, requester, and line items. Suppliers referenced on line items are resolved and linked to the request. When requisition line items have been purchased against a purchase order, the corresponding Silkline Order is linked to the request.

### Vendors into Suppliers

Vendor information including company name, contact details, phone, website, and active/archived status.

### Materials (Catalog Items) into Parts

Catalog item details including name, description, SKU, unit of measure, and product URL.

### Users

Employee information including name, email, phone, position, and active status.

## Detailed Data Mappings

### Purchase Order Mapping

| Procurify Field         | Silkline Field         | Notes                                                                   |
| ----------------------- | ---------------------- | ----------------------------------------------------------------------- |
| UUID                    | External ID            | Unique identifier from Procurify                                        |
| PO Number               | Order Number           | `PO_Num` or `number` field                                              |
| State                   | Order State            | See status mapping below                                                |
| Purchased Currency      | Currency               | ISO currency code (e.g., `USD`)                                         |
| Preferred Vendor        | Supplier               | Resolved to matching Silkline supplier                                  |
| Purchaser               | Created By User        | Resolved via `purchaser.user` to matching Silkline user                 |
| Payment Terms           | Payment Terms          | Payment terms text                                                      |
| Shipping Terms          | Delivery Terms         | Shipping/delivery terms text                                            |
| Shipping Method         | Delivery Mode          | Shipping method name                                                    |
| Receiver Address (flat) | Ship To Address        | Formatted from `receiver_*` flat fields (see note below)                |
| Buyer Address (flat)    | Bill To Address        | Formatted from `buyer_*` flat fields (see note below)                   |
| Promise Date            | Estimated Arrival Date | Expected delivery date for the PO                                       |
| Comment                 | Notes                  | PO comment, stored as rich text                                         |
| Date                    | Created At             | Purchase order creation date                                            |
| Last Modified           | Updated At             | Last modification timestamp                                             |
| Tax                     | Order Adjustment       | Tax amount or percentage, stored as "Sales Tax" adjustment              |
| Discount                | Order Adjustment       | Discount amount or percentage, stored as negative "Discount" adjustment |
| Freight                 | Order Adjustment       | Freight cost, stored as "Freight" adjustment                            |

#### Purchase Order Status Mapping

| Procurify `state` | Silkline Order State |
| ----------------- | -------------------- |
| 0 - Purchased     | Approved             |
| 1 - Cancelled     | Canceled             |
| 3 - Closed        | Closed               |
| 4 - Paid          | Closed               |
| 5 - Reopened      | Open                 |

### Purchase Order Line Item Mapping

| Procurify Line Item Field | Silkline Order Item Field | Notes                                                        |
| ------------------------- | ------------------------- | ------------------------------------------------------------ |
| ID                        | External ID               | Unique line item identifier                                  |
| Name                      | Description               | Item description                                             |
| Catalog Item              | Material                  | Resolved to matching Silkline material via `catalog_item.id` |
| Quantity                  | Units / Purchase Qty      | Number of units ordered                                      |
| Price                     | Unit Cost                 | Price per unit                                               |
| Unit                      | Unit of Measure           | Unit type                                                    |
| SKU                       | Supplier Material Number  | Supplier's part/SKU number                                   |
| Date Required             | Need Date                 | Requested delivery date                                      |
| Promise Date (PO-level)   | Expected Delivery Date    | PO-level promise date applied to all line items              |
| Status                    | Status                    | Numeric code mapped to string (see status mapping below)     |
| Received Pass Qty         | Units Received            | Quantity successfully received                               |
| Created At                | Created At                | Line item creation timestamp                                 |
| Last Modified             | Updated At                | Line item modification timestamp                             |

#### Order Item Status Mapping

| Procurify Status Code | Status Label            | Silkline Status String  |
| --------------------- | ----------------------- | ----------------------- |
| 0                     | Approved, not purchased | PURCHASE\_PENDING       |
| 1                     | Added to PO list        | PURCHASE\_INUSE         |
| 2                     | Purchased, not received | RECEIVE\_PENDING        |
| 3                     | Fully received          | RECEIVED                |
| 4                     | Rejected at procurement | REJECTED\_FOR\_PURCHASE |
| 5                     | Partially received      | RECEIVE\_PARTIAL        |
| 6                     | Received but unused     | FULFILLED               |
| 7                     | Denied in approval      | APPROVAL\_DENIED        |
| 8                     | Draft                   | REQUEST\_DRAFT          |

### Request (Requisition) Mapping

Procurify "Orders" (requisitions) map to Silkline Requests:

| Procurify Field      | Silkline Field | Notes                                        |
| -------------------- | -------------- | -------------------------------------------- |
| UUID                 | External ID    | Unique identifier from Procurify             |
| Order Number (`num`) | Number         | Procurify requisition number                 |
| Status               | State          | See status mapping below                     |
| Description          | Description    | Requisition description                      |
| Date Required        | Need Date      | Requested delivery date                      |
| Date                 | Creation Date  | Requisition creation date                    |
| User Email           | Requester      | Resolved via email to matching Silkline user |

#### Request Status Mapping

| Procurify Status | Status Label | Silkline Request State |
| ---------------- | ------------ | ---------------------- |
| 0                | Pending      | Open                   |
| 1                | Approved     | Open                   |
| 2                | Denied       | Cancelled              |
| 3                | Purchased    | Complete               |
| 4                | Cancelled    | Cancelled              |
| 5                | Received     | Complete               |
| 6                | Draft        | Open                   |

### Request Line Item Mapping

| Procurify Order Item Field | Silkline Requested Item Field | Notes                       |
| -------------------------- | ----------------------------- | --------------------------- |
| ID                         | External ID                   | Unique line item identifier |
| Name                       | Custom Part Description       | Item description            |
| Quantity                   | Quantity                      | Number of units requested   |
| SKU                        | Supplier Material Number      | Supplier's part/SKU number  |

### Request Dependencies

| Dependency    | Resolution                                                       |
| ------------- | ---------------------------------------------------------------- |
| Requester     | Resolved from `user.email` as an OrganizationUser                |
| Suppliers     | Resolved from unique `pref_vendor` IDs on line items             |
| Linked Orders | Purchase order UUIDs from line items resolved to Silkline Orders |

### Supplier Mapping

| Procurify Vendor Field | Silkline Supplier Field | Notes                                         |
| ---------------------- | ----------------------- | --------------------------------------------- |
| ID                     | External ID             | Unique vendor identifier                      |
| Name                   | Name                    | Supplier's business name                      |
| Comments               | Description             | General notes about the supplier              |
| Phone One              | Primary Phone           | Supplier's phone number                       |
| URL                    | Primary Domain          | Supplier's website                            |
| Active                 | Is Archived             | `active = false` maps to archived in Silkline |
| Date Modified          | Updated At              | Last modification timestamp                   |

#### Supplier Address Mapping

If a vendor has any address fields populated, a primary supplier address is created:

| Procurify Vendor Field | Silkline Address Field | Notes                         |
| ---------------------- | ---------------------- | ----------------------------- |
| Address Line One       | Address Line 1         | First line of street address  |
| Address Line Two       | Address Line 2         | Second line of street address |
| City                   | Locality               | City name                     |
| State/Province         | Administrative Area    | State or province             |
| Postal Code            | Postal Code            | Zip or postal code            |
| Country                | Country Code           | Country name or code          |

#### Supplier Contact Mapping

If a vendor has a contact name, a primary contact is also created:

| Procurify Vendor Field | Silkline Contact Field | Notes                               |
| ---------------------- | ---------------------- | ----------------------------------- |
| Contact                | First Name             | Contact name (stored as first name) |
| Email (first)          | Email                  | First email address from array      |
| Phone One              | Phone Number           | Same as supplier phone              |

### Material (Catalog Item) Mapping

| Procurify Catalog Item Field | Silkline Material Field | Notes                          |
| ---------------------------- | ----------------------- | ------------------------------ |
| ID                           | External ID             | Unique catalog item identifier |
| Name                         | Name                    | Item name                      |
| Description                  | Description             | Item description               |
| Internal SKU                 | Material Number         | Internal SKU / part number     |
| Unit Type                    | Unit of Measure         | Unit type (EA, KG, etc.)       |
| Product URL                  | External URL            | Link to product page           |

### User Mapping

| Procurify User Field | Silkline User Field | Notes                                         |
| -------------------- | ------------------- | --------------------------------------------- |
| ID                   | External ID         | Unique user identifier (`id` or `user` field) |
| Email                | Username            | Used for login identification                 |
| Is Active            | Is Archived         | `is_active = false` maps to archived          |

#### User Contact Mapping

| Procurify User Field | Silkline Contact Field | Notes                                       |
| -------------------- | ---------------------- | ------------------------------------------- |
| First Name           | First Name             | Employee's first name                       |
| Last Name            | Last Name              | Employee's last name                        |
| Phone                | Phone Number           | Business phone number                       |
| Position / Role Name | Title                  | Position preferred, falls back to role name |
| Email                | Email                  | Email address                               |

## Known Limitations

### Ingest only

This integration reads data from Procurify into Silkline. Changes made in Silkline are not written back to Procurify.

### No real-time sync

Data is synced via pull-based discovery only. There is no webhook or event-based sync — changes in Procurify are picked up when a sync is triggered manually or via scheduled backfill.

### Parts aren't created without a Catalog

If items from an order don't come from an existing Catalog, they will not be created as Parts in Silkline.

### File attachments are not available

Procurify does not populate attachment data in API responses. File attachments on requisitions or purchase orders cannot be synced into Silkline.

## Frequently Asked Questions

### How often does the data sync?

Data is synced when triggered from the integration discovery card in Silkline.

### What happens if a record is deleted in Procurify?

Records are not deleted in Silkline. If a vendor or user is deactivated in Procurify (`active = false`), it will be marked as archived in Silkline on the next sync.
