# How does the Grainger integration work?

<figure><img src="/files/GT8jLxz7G9Emg9j5wnpT" alt=""><figcaption></figcaption></figure>

### How do I get started? <a href="#whatdoineedtoincludeonmyevents" id="whatdoineedtoincludeonmyevents"></a>

If you want to enable the Grainger integration, contact your Fairmarkit Customer Success Manager. As part of this process, they will:

* Turn on the Grainger automated response option.
* [Add your Grainger account](/buyers/administration/integrated-quoting.md) number. This information ensures you receive your customer-specific pricing.

### What do I need to include on my events? <a href="#whatdoineedtoincludeonmyevents" id="whatdoineedtoincludeonmyevents"></a>

For every request for quote event you want to receive a Grainger response for, include the following:

* A shipping address in the United States
* At least one goods/commodities-type line item
* Auto quote # (Grainger item code) or MFG #
* Quantity in an integer
* UOM matches Grainger for Supplier Item # or MFG #
* Invite at least one supplier from Grainger

### How does this process work? <a href="#howdoesthisprocesswork" id="howdoesthisprocesswork"></a>

For every line item in an event, Fairmarkit searches the Grainger database for the Auto quote #. If the Auto quote # is not available or incorrect, we search for the MFG #. For each eligible match, an automated response is generated.

The following outlines some response scenarios:

#### Complete response

When all line items are eligible, a response is automatically submitted. The response validity is set to one day, and the Supplier Quote Number is set to *\<Grainger account number>+\<date>*.

#### Partial response

When only some line items are eligible, a response is automatically submitted for the eligible line items with the remaining items marked as declined. The response validity is set to one day, and the Supplier Quote Number is set to *\<Grainger account number>+\<date>*. An email is sent to the Grainger sales representative, who can edit the response in Fairmarkit if needed.

#### No response

When none of the line items are eligible, an email is sent to the Grainger sales representative, who can edit the response in Fairmarkit if needed.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fairmarkit.com/buyers/integrations/supplier-integrations/grainger-integration/how-does-the-grainger-integration-work.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
