Drift
App · 20 actions
Manage Drift contacts, accounts and conversations; read playbooks, teams and booked meetings; watch conversations and messages.
Actions
| Action | What it does |
|---|---|
| Create account | Create account. |
| Create contact | Create contact. |
| Create conversation | Create conversation. |
| Delete account | Delete account. |
| Delete contact | Delete contact. |
| Get account | Get account. |
| Get contact | Get contact. |
| Get conversation | Get conversation. |
| Get user | Get user. |
| List accounts | List accounts. |
| List contact attributes | List contact attributes. |
| List contacts | List contacts. |
| List conversations | List conversations. |
| List meetings | List meetings. |
| List messages | List messages. |
| List playbooks | List playbooks. |
| List teams | List teams. |
| List users | List users. |
| Send message | Send message. |
| Update contact | Update contact. |
Create account
Create account.
Inputs
- Owner
owner_idnumberRequired - Owner ID.
- Name
nametextRequired - Name.
- Domain
domaintextRequired - Domain.
- Account ID
account_idtextRequired - Account ID.
- Targeted
targetedtrue/false - Targeted.
- Custom properties
custom_propertieslist - Custom properties.
Outputs
responseobject- The complete service response, including resource data and pagination fields.
Example output
{
"response": {
"data": {
"accountId": "account-1"
}
}
}Create contact
Create contact.
Inputs
- Email
emailtextRequired - Email.
- First name
first_nametext - First name.
- Last name
last_nametext - Last name.
- External ID
external_idtext - External ID.
- Phone
phonetext - Phone.
Outputs
responseobject- The complete service response, including resource data and pagination fields.
Example output
{
"response": {
"data": {
"id": 101
}
}
}Create conversation
Create conversation.
Inputs
- Email
emailtextRequired - Email.
- Message
messagetextRequired - Message.
- Source
sourcetext - Source.
Outputs
responseobject- The complete service response, including resource data and pagination fields.
Example output
{
"response": {
"contactId": 101,
"id": 88,
"status": "open"
}
}Delete account
Delete account.
Inputs
- Account
account_idtextRequired - Account ID.
Outputs
responseobject- The complete service response, including resource data and pagination fields.
Example output
{
"response": {
"ok": true,
"result": "OK"
}
}Delete contact
Delete contact.
Inputs
- Contact
contact_idtextRequired - Contact ID.
Outputs
responseobject- The complete service response, including resource data and pagination fields.
Example output
{
"response": {}
}Get account
Get account.
Inputs
- Account
account_idtextRequired - Account ID.
Outputs
responseobject- The complete service response, including resource data and pagination fields.
Example output
{
"response": {
"data": {
"accountId": "account-1"
}
}
}Get contact
Get contact.
Inputs
- Contact
contact_idtextRequired - Contact ID.
Outputs
responseobject- The complete service response, including resource data and pagination fields.
Example output
{
"response": {
"data": {
"attributes": {
"email": "qa@example.com"
},
"id": 101
}
}
}Get conversation
Get conversation.
Inputs
- Conversation
conversation_idtextRequired - Conversation ID.
Outputs
responseobject- The complete service response, including resource data and pagination fields.
Example output
{
"response": {
"data": {
"id": 88,
"status": "open"
}
}
}Get user
Get user.
Inputs
- Agent
agent_idtextRequired - Agent ID.
Outputs
responseobject- The complete service response, including resource data and pagination fields.
Example output
{
"response": {
"data": {
"id": 42
}
}
}List accounts
List accounts.
Inputs
- Index
indexnumber - Index.At least 0.
- Size
sizenumber - Size.From 1 to 65.
Outputs
responseobject- The complete service response, including resource data and pagination fields.
Example output
{
"response": {
"data": {
"accounts": [],
"total": 0
}
}
}List contact attributes
List contact attributes.
Inputs
None.
Outputs
responseobject- The complete service response, including resource data and pagination fields.
Example output
{
"response": {
"data": []
}
}List contacts
List contacts.
Inputs
- Email
emailtext - Email.
- Limit
limitnumber - Limit.From 1 to 100.
Outputs
responseobject- The complete service response, including resource data and pagination fields.
Example output
{
"response": {
"data": []
}
}List conversations
List conversations.
Inputs
- Limit
limitnumber - Limit.From 1 to 100.
- Page token
page_tokentext - Page token.
- Status IDs
status_idslist - Status IDs.One or more of:
1,2,3.
Outputs
responseobject- The complete service response, including resource data and pagination fields.
Example output
{
"response": {
"data": [],
"links": {}
}
}List meetings
List meetings.
Inputs
- Min start time
min_start_timedate and timeRequired - Min start time.
- Max start time
max_start_timedate and timeRequired - Max start time.
- Limit
limitnumber - Limit.From 0 to 1000.
Outputs
responseobject- The complete service response, including resource data and pagination fields.
Example output
{
"response": {
"data": []
}
}List messages
List messages.
Inputs
- Conversation
conversation_idtextRequired - Conversation ID.
- Next
nexttext - Next.
Outputs
responseobject- The complete service response, including resource data and pagination fields.
Example output
{
"response": {
"data": {
"messages": []
}
}
}List playbooks
List playbooks.
Inputs
None.
Outputs
responseobject- The complete service response, including resource data and pagination fields.
Example output
{
"response": {
"data": []
}
}List teams
List teams.
Inputs
None.
Outputs
responseobject- The complete service response, including resource data and pagination fields.
Example output
{
"response": {
"data": []
}
}List users
List users.
Inputs
None.
Outputs
responseobject- The complete service response, including resource data and pagination fields.
Example output
{
"response": {
"data": []
}
}Send message
Send message.
Inputs
- Conversation
conversation_idtextRequired - Conversation ID.
- Body
bodytextRequired - Body.
- Type
typetextRequired - Type.One of:
chat,private_note(Private note). - Agent
agent_idnumber - Agent ID.
Outputs
responseobject- The complete service response, including resource data and pagination fields.
Example output
{
"response": {
"data": {
"id": 99
}
}
}Update contact
Update contact.
Inputs
- Contact
contact_idtextRequired - Contact ID.
- Email
emailtext - Email.
- First name
first_nametext - First name.
- Last name
last_nametext - Last name.
- External ID
external_idtext - External ID.
- Phone
phonetext - Phone.
Outputs
responseobject- The complete service response, including resource data and pagination fields.
Example output
{
"response": {}
}