> ## 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: Update Content Import Source

> Update an Intercom Fin content import source's URL, sync behavior, status or audiences. Includes inputs, outputs, SDK V2 examples, and Deepline cost.

Update an Intercom Fin content import source's URL, sync behavior, status or audiences.

> [!NOTE]
>
> Tool ID: `intercom_update_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_update_content_import_source',
  {
    "source_id": "source_123",
    "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_update_content_import_source --input '{
  "source_id": "source_123",
  "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_update_content_import_source --json` for the latest machine-readable contract.

## Input reference

You can modify a Content Import Source of your Fin Content Library.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.source_id` | `string` | Yes | — | The unique identifier for the content import source which is given by Intercom. |
| `payload.sync_behavior` | `"api" \| "automated" \| "manual"` | Yes | — | If you intend to create or update External Pages via the API, this should be set to `api`. You can not change the value to or from api. Allowed: `api`, `automated`, `manual`. |
| `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. This may only be different from the existing value if the sync behavior is API. |
| `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. Set to null or an empty array to remove all audiences. |
| `payload.apply_audience_to_existing_content` | `boolean` | No | `false` | When true, the audience will be applied to all existing external pages belonging to this content import source. |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "You can modify a Content Import Source of your Fin Content Library.",
    "properties": {
      "source_id": {
        "type": "string",
        "description": "The unique identifier for the content import source which is given by Intercom."
      },
      "sync_behavior": {
        "type": "string",
        "description": "If you intend to create or update External Pages via the API, this should be set to `api`. You can not change the value to or from api.",
        "enum": [
          "api",
          "automated",
          "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 content import source. This may only be different from the existing value if the sync behavior is API."
      },
      "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. Set to null or an empty array to remove all audiences.",
        "additionalProperties": true
      },
      "apply_audience_to_existing_content": {
        "type": "boolean",
        "description": "When true, the audience will be applied to all existing external pages belonging to this content import source.",
        "default": false
      }
    },
    "required": [
      "source_id",
      "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.