# Set the service trigger schedule

## Introduction <a href="#introduction" id="introduction"></a>

This page is **part 3** of the instruction set for [adding a Patchworks service for an Inbound API connector](https://doc.wearepatchworks.com/product-documentation/patchworks-services/inbound-api/using-the-inbound-api-connector-with-patchworks-services/adding-a-patchworks-service-for-an-inbound-api-connector):

| Part # | Link to instructions                                                                                                                                                                                                                                             |
| ------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 1      | [Add a default service](https://doc.wearepatchworks.com/product-documentation/patchworks-services/inbound-api/using-the-inbound-api-connector-with-patchworks-services/adding-a-patchworks-service-for-an-inbound-api-connector/add-a-default-service)           |
| 2      | [Configure service settings](https://doc.wearepatchworks.com/product-documentation/patchworks-services/inbound-api/using-the-inbound-api-connector-with-patchworks-services/adding-a-patchworks-service-for-an-inbound-api-connector/configure-service-settings) |
| **3**  | **Set the service trigger schedule**                                                                                                                                                                                                                             |
| 4      | [Define field mappings](https://doc.wearepatchworks.com/product-documentation/patchworks-services/inbound-api/using-the-inbound-api-connector-with-patchworks-services/adding-a-patchworks-service-for-an-inbound-api-connector/define-field-mappings)           |
| 5      | ​[Activate the service](https://doc.wearepatchworks.com/product-documentation/patchworks-services/inbound-api/using-the-inbound-api-connector-with-patchworks-services/adding-a-patchworks-service-for-an-inbound-api-connector/activate-the-service)            |

## Prerequisites <a href="#prerequisites" id="prerequisites"></a>

The steps detailed on this page assume that you are following the ['new service'](https://doc.wearepatchworks.com/product-documentation/patchworks-services/inbound-api/using-the-inbound-api-connector-with-patchworks-services/adding-a-patchworks-service-for-an-inbound-api-connector) flow and have just saved service settings, so the **service trigger** page is displayed:

<div align="left"><figure><img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2FPkkiTQcCdtkStDne60qU%2Fservice%20trigger%200.png?alt=media&#x26;token=5216ab21-8b0b-4368-af23-f87e072b173c" alt="" width="375"><figcaption></figcaption></figure></div>

If you have exited the 'new service' flow and need to get back to this point, you can access all service configuration options via the **canvas** tab:

<div align="left"><figure><img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2FwhofNJD2OZPIVKIWQTyG%2Faccess%20canvas%20tab%20for%20a%20service%20-%20journey%202.png?alt=media&#x26;token=fb83746b-e450-4f70-b7b9-3f067e70231d" alt=""><figcaption></figcaption></figure></div>

## The steps <a href="#the-steps" id="the-steps"></a>

Follow the steps below to set a schedule on which the service for your Inbound API connector will be triggered.

**Step 1** \
Click the **trigger type** dropdown field and select the **schedule** option:​

![](https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2FZLL65F5nNR4tEQN1X3HX%2Fservice%20trigger%20-%20schedule.png?alt=media\&token=97509974-ffa9-4579-b3cb-caed7357e933)​

**Step 2** \
Set scheduling options as required:

​![](https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2FYQBiyN5z57vuXppLn2dQ%2Fservice%20trigger%201a.png?alt=media\&token=22efc9a6-22e2-4b63-b4b3-eae407fc3d21)​

**Step 3** \
Click the **next** button. Schedule settings are saved, and **mapping** options are displayed - please see the [define field mappings](https://doc.wearepatchworks.com/product-documentation/patchworks-services/inbound-api/using-the-inbound-api-connector-with-patchworks-services/adding-a-patchworks-service-for-an-inbound-api-connector/define-field-mappings) page for guidance.


---

# 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://doc.wearepatchworks.com/product-documentation/patchworks-services/inbound-api/using-the-inbound-api-connector-with-patchworks-services/adding-a-patchworks-service-for-an-inbound-api-connector/set-the-service-trigger-schedule.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.
