> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Intercom: Create Content Import Source

> Add a website URL that Intercom Fin imports and syncs as knowledge content. Includes SDK V2 examples, input constraints, response fields, and Deepline cost.

Add a website URL that Intercom Fin imports and syncs as knowledge content.

> [!NOTE]
>
> Tool ID: `intercom_create_content_import_source`

## Run this action

Use the TypeScript SDK for one call. Use `ctx.tools.execute(...)` inside a Play for durable calls, scheduled calls, or CSV processing.

```ts theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'intercom_create_content_import_source',
  {
    "sync_behavior": "api",
    "url": "https://example.com"
  },
);

console.log(result.toolResponse.raw);
```

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute intercom_create_content_import_source --input '{
  "sync_behavior": "api",
  "url": "https://example.com"
}' --json
```

## Example response

The SDK returns this shape at `result.toolResponse.raw`. The example values illustrate the response.

```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
{
  "data": {
    "type": "content_import_source",
    "id": 123,
    "last_synced_at": 123,
    "sync_behavior": "api",
    "status": "active",
    "url": "https://example.com",
    "created_at": 123,
    "updated_at": 123
  }
}
```

Use `deepline describe intercom_create_content_import_source --json` for the latest machine-readable contract.

## Input reference

You can add an Content Import Source to your Fin Content Library.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.sync_behavior` | `"api"` | Yes | — | If you intend to create or update External Pages via the API, this should be set to `api`. Allowed: `api`. |
| `payload.status` | `"active" \| "deactivated"` | No | `"active"` | The status of the content import source. Allowed: `active`, `deactivated`. |
| `payload.url` | `string` | Yes | — | The URL of the content import source. |
| `payload.audience_ids` | `object` | No | — | The unique identifiers for the audiences to associate with this content import source. Can be a single integer or an array of integers. |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "You can add an Content Import Source to your Fin Content Library.",
    "properties": {
      "sync_behavior": {
        "type": "string",
        "description": "If you intend to create or update External Pages via the API, this should be set to `api`.",
        "enum": [
          "api"
        ]
      },
      "status": {
        "type": "string",
        "description": "The status of the content import source.",
        "default": "active",
        "enum": [
          "active",
          "deactivated"
        ]
      },
      "url": {
        "type": "string",
        "description": "The URL of the content import source."
      },
      "audience_ids": {
        "type": [
          "object",
          "null"
        ],
        "description": "The unique identifiers for the audiences to associate with this content import source. Can be a single integer or an array of integers.",
        "additionalProperties": true
      }
    },
    "required": [
      "sync_behavior",
      "url"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | An external source for External Pages that you add to your Fin Content Library. |
| `result.data.type` | `"content_import_source"` | Yes | `"content_import_source"` | Always external\_page Allowed: `content_import_source`. |
| `result.data.id` | `integer` | Yes | — | The unique identifier for the content import source which is given by Intercom. |
| `result.data.last_synced_at` | `integer` | Yes | — | The time when the content import source was last synced. Format: `date-time`. |
| `result.data.sync_behavior` | `"api" \| "automatic" \| "manual"` | Yes | — | If you intend to create or update External Pages via the API, this should be set to `api`. Allowed: `api`, `automatic`, `manual`. |
| `result.data.status` | `"active" \| "deactivated"` | Yes | `"active"` | The status of the content import source. Allowed: `active`, `deactivated`. |
| `result.data.url` | `string` | Yes | — | The URL of the root of the external source. |
| `result.data.created_at` | `integer` | Yes | — | The time when the content import source was created. Format: `date-time`. |
| `result.data.updated_at` | `integer` | Yes | — | The time when the content import source was last updated. Format: `date-time`. |
| `result.data.audience_ids` | `array \| null` | No | — | The unique identifiers for the audiences associated with this content import source. |
| `result.meta` | `object` | No | — | Additional response metadata (status, paging). |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "An external source for External Pages that you add to your Fin Content Library.",
        "properties": {
          "type": {
            "type": "string",
            "description": "Always external_page",
            "default": "content_import_source",
            "enum": [
              "content_import_source"
            ]
          },
          "id": {
            "type": "integer",
            "description": "The unique identifier for the content import source which is given by Intercom."
          },
          "last_synced_at": {
            "type": "integer",
            "description": "The time when the content import source was last synced.",
            "format": "date-time"
          },
          "sync_behavior": {
            "type": "string",
            "description": "If you intend to create or update External Pages via the API, this should be set to `api`.",
            "enum": [
              "api",
              "automatic",
              "manual"
            ]
          },
          "status": {
            "type": "string",
            "description": "The status of the content import source.",
            "default": "active",
            "enum": [
              "active",
              "deactivated"
            ]
          },
          "url": {
            "type": "string",
            "description": "The URL of the root of the external source."
          },
          "created_at": {
            "type": "integer",
            "description": "The time when the content import source was created.",
            "format": "date-time"
          },
          "updated_at": {
            "type": "integer",
            "description": "The time when the content import source was last updated.",
            "format": "date-time"
          },
          "audience_ids": {
            "type": [
              "array",
              "null"
            ],
            "description": "The unique identifiers for the audiences associated with this content import source.",
            "items": {
              "type": "integer"
            }
          }
        },
        "required": [
          "id",
          "type",
          "url",
          "sync_behavior",
          "status",
          "created_at",
          "updated_at",
          "last_synced_at"
        ],
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.

## Related documentation

* [Intercom provider guide](https://deepline.com/docs/providers/intercom/guide.md)
* [SDK V2 quickstart](https://deepline.com/docs/sdk-v2/quickstart.md)
* [SDK reference](https://deepline.com/docs/sdk-v2/sdk-reference.md)
* [Run tools across a CSV](https://deepline.com/docs/sdk-v2/batch-csv.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.