Drift

Drift integration to fetch, modify, create and delete contacts within the Drift Plattform's Contact API.

Utilities · Drift

Details

IDDrift
ProviderSalesloft
CategoryUtilities
From Version6.2.0
Docker Imagedemisto/python3:3.12.8.3296088
Supported ModulesAgentix XSIAM

README

Drift integration to fetch, modify, create and delete contacts within the Drift Plattform’s Contact API.
This integration was integrated and tested with version 1.7 of Drift

Configure Drift in Cortex

Parameter Description Required
Access Token API Access Token True
Use system proxy settings   False
Trust any certificate (not secure)   False
Fetch indicators   False

Commands

You can execute these commands from the CLI, as part of an automation, or in a playbook.
After you successfully execute a command, a DBot message appears in the War Room with the command details.

drift-get-contact


Retrieve a contact using their email address (for multiple) or ID (for single).

Base Command

drift-get-contact

Input

Argument Name Description Required
id ID of the contact (overrides the email input). Optional
email Email of the contact. Optional

Context Output

Path Type Description
Drift.Contacts.id number ID of the contact
Drift.Contacts.createdAt number Created at timestamp (Epoch Unix Timestamp)
Drift.Contacts.Attributes unknown Attributes of the contact (JSON dict).

drift-update-contact


Patch Contact Updates using contact ID

Base Command

drift-update-contact

Input

Argument Name Description Required
id Contact ID. Required
attributes Attributes to be updates. Required

Context Output

Path Type Description
Drift.Contacts.id number ID of the created contact
Drift.Contacts.createdAt number Created at timestamp (Epoch Unix Timestamp)
Drift.Contacts.attributes unknown Attributes of the contact (JSON dict).

drift-delete-contact


Delete Contact using contact ID

Base Command

drift-delete-contact

Input

Argument Name Description Required
id Contact ID. Required

Context Output

There is no context output for this command.

drift-post-contact


Post New Contact using a new contact Email

Base Command

drift-post-contact

Input

Argument Name Description Required
email New Contact Email. Required

Context Output

Path Type Description
Drift.Contacts.id number ID of the created contact
Drift.Contacts.createdAt number Created at timestamp (Epoch Unix Timestamp)
Drift.Contacts.Attributes unknown Attributes of the contact (JSON dict).

Configuration parameters

  • access_token — Access Token (required)
  • proxy — Use system proxy settings
  • insecure — Trust any certificate (not secure)

Commands (4)

  • drift-delete-contact

    Delete Contact using contact ID

  • drift-get-contact

    Retrieve a contact using their email address (for multiple) or ID (for single).

  • drift-post-contact

    Post New Contact using a new contact Email

  • drift-update-contact

    Patch Contact Updates using contact ID

commonfields:
  id: Drift
  version: -1
name: Drift
display: Drift
category: Utilities
provider: Salesloft
description: Drift integration to fetch, modify, create and delete contacts within the Drift Plattform's Contact API.
configuration:
- display: Access Token
  displaypassword: Access Token
  hiddenusername: true
  name: access_token
  type: 9
  required: true
  additionalinfo: API Access Token
- display: Use system proxy settings
  name: proxy
  type: 8
  required: false
- display: Trust any certificate (not secure)
  name: insecure
  type: 8
  required: false
script:
  script: ''
  type: python
  commands:
  - name: drift-get-contact
    arguments:
    - name: id
      description: ID of the contact (overrides the email input).
      type: textArea
    - name: email
      description: Email of the contact.
      type: textArea
    outputs:
    - contextPath: Drift.Contacts.id
      description: ID of the contact
      type: number
    - contextPath: Drift.Contacts.createdAt
      description: Created at timestamp (Epoch Unix Timestamp)
      type: number
    - contextPath: Drift.Contacts.Attributes
      description: Attributes of the contact (JSON dict).
    description: Retrieve a contact using their email address (for multiple) or ID (for single).
  - name: drift-update-contact
    arguments:
    - name: id
      required: true
      description: Contact ID
      type: textArea
    - name: attributes
      required: true
      description: Attributes to be updates
      type: keyValue
    outputs:
    - contextPath: Drift.Contacts.id
      description: ID of the created contact
      type: number
    - contextPath: Drift.Contacts.createdAt
      description: Created at timestamp (Epoch Unix Timestamp)
      type: number
    - contextPath: Drift.Contacts.attributes
      description: Attributes of the contact (JSON dict).
    description: Patch Contact Updates using contact ID
  - name: drift-delete-contact
    arguments:
    - name: id
      required: true
      description: Contact ID
      type: textArea
    description: Delete Contact using contact ID
  - name: drift-post-contact
    arguments:
    - name: email
      required: true
      description: New Contact Email
      type: textArea
    outputs:
    - contextPath: Drift.Contacts.id
      description: ID of the created contact
      type: number
    - contextPath: Drift.Contacts.createdAt
      description: Created at timestamp (Epoch Unix Timestamp)
      type: number
    - contextPath: Drift.Contacts.Attributes
      description: Attributes of the contact (JSON dict).
    description: 'Post New Contact using a new contact Email '
  dockerimage: demisto/python3:3.12.8.3296088
  runonce: false
  subtype: python3
fromversion: 6.2.0
tests:
- No tests (auto formatted)