Senta

App · 8 actions

Keep your accounting practice's clients in Senta up to date, add notes and follow their jobs.

Actions

ActionWhat it does
Create clientAdd a client or prospect to Senta.
Create noteAdd a note to a client, and to one of its jobs if you choose.
Delete clientDelete a client from Senta.
Get clientGet a client's details and contacts.
List clients in a listGet the clients in one of your practice's saved client lists.
List jobsList jobs, filtered by client, job template or status.
Search clientsFind clients whose details match some keywords.
Update clientChange a client's details or add contacts.

Create client

Add a client or prospect to Senta.

Inputs

Client nametitletextRequired
The client's name.
Stateclientstatetext
The client's state as your practice names it, such as Prospect or Client. Moving a prospect to Client starts its jobs, as it does in Senta.
Client typeclienttypetext
Its type as your practice names it, such as Partnership.
Business areabusinessareatext
Its business area, such as Veterinary.
Phonetelephonetext
Its phone number.
Websitewebtext
Its website.
Twittertwittertext
Its Twitter handle, without the @.
Address line 1address1text
The first line of its address.
Address line 2address2text
The second line of its address.
Towntowntext
Its town.
Districtdistricttext
Its district or county.
Postcodepostcodetext
Its postcode.
Payment methodpaymentmethodtext
How it pays, such as Monthly.
VAT servicevatservicetrue/false
Turn the VAT service on, which starts its jobs.
Contactscontactslist
Contacts to add. On an update, a contact with an existing contact's name is changed, and a new one is added.

Outputs

dataobject
The response from Senta.
Example output
{
  "data": {
    "doc": {
      "_id": "c260af21ede8f",
      "address1": "8 Somerset Hall Road",
      "address2": "Flat 2",
      "businessarea": "Veterinary",
      "clientstate": "Client",
      "clienttype": "Partnership",
      "contacts": [
        {
          "email": "tammy.bailey@example.com",
          "firstname": "Tammy",
          "lastname": "Bailey",
          "mobile": "07700 900898",
          "shareholding": 50
        }
      ],
      "district": "Dorset",
      "paymentmethod": "Monthly",
      "postcode": "DT9 3BV",
      "telephone": "01632 963561",
      "title": "Watchful Cobweb Ltd",
      "total": 0,
      "town": "Sherborne",
      "twitter": "watchfulcobweb",
      "vatservice": true,
      "web": "www.watchfulcobweb.co"
    }
  }
}

Create note

Add a note to a client, and to one of its jobs if you choose.

Inputs

ClientcidtextRequired
The client the note is about.
TexttexttextRequired
The note. It can include HTML.
Job IDjidtext
The job the note is about, from List jobs.
Note typenotetypetext
The kind of note, such as Phone call. Note if empty.
Datedatedate and time
The date and time the note is about. Now if empty.

Outputs

dataobject
The response from Senta.
Example output
{
  "data": {
    "_id": "n263ba3fa138b",
    "cid": "c260af21ede8f",
    "date": "2019-08-26T00:00:00.000Z",
    "jid": "jgede54650fde",
    "notetype": "Phone call",
    "text": "Here is some <b>text</b> for the note"
  }
}

Delete client

Delete a client from Senta.

Inputs

ClientclientIdtextRequired
The client's Senta ID, from Search clients.

Outputs

dataobject
Nothing: Senta answers 200 with no documented body.
Example output
{
  "data": {}
}

Get client

Get a client's details and contacts.

Inputs

ClientclientIdtextRequired
The client's Senta ID, from Search clients.

Outputs

dataobject
The response from Senta.
Example output
{
  "data": {
    "doc": {
      "_id": "c260af21ede8f",
      "address1": "8 Somerset Hall Road",
      "address2": "Flat 2",
      "businessarea": "Veterinary",
      "clientstate": "Client",
      "clienttype": "Partnership",
      "contacts": [
        {
          "email": "tammy.bailey@example.com",
          "firstname": "Tammy",
          "lastname": "Bailey",
          "mobile": "07700 900898",
          "shareholding": 50
        }
      ],
      "district": "Dorset",
      "paymentmethod": "Monthly",
      "postcode": "DT9 3BV",
      "telephone": "01632 963561",
      "title": "Watchful Cobweb Ltd",
      "total": 0,
      "town": "Sherborne",
      "twitter": "watchfulcobweb",
      "vatservice": true,
      "web": "www.watchfulcobweb.co"
    }
  }
}

List clients in a list

Get the clients in one of your practice's saved client lists.

Inputs

Client list IDclientViewIdtextRequired
The list's ID: the last part of its address in Senta, such as v08a361263f4a in acme.senta.co/c/l/v08a361263f4a. The list must be publicly browsable.

Outputs

dataobject
The response from Senta.
Example output
{
  "data": {
    "docs": [
      {
        "_id": "c260af21ede8f",
        "address1": "8 Somerset Hall Road",
        "address2": "Flat 2",
        "businessarea": "Veterinary",
        "clientstate": "Client",
        "clienttype": "Partnership",
        "contacts": [
          {
            "email": "tammy.bailey@example.com",
            "firstname": "Tammy",
            "lastname": "Bailey",
            "mobile": "07700 900898",
            "shareholding": 50
          }
        ],
        "district": "Dorset",
        "paymentmethod": "Monthly",
        "postcode": "DT9 3BV",
        "telephone": "01632 963561",
        "title": "Watchful Cobweb Ltd",
        "total": 0,
        "town": "Sherborne",
        "twitter": "watchfulcobweb",
        "vatservice": true,
        "web": "www.watchfulcobweb.co"
      }
    ]
  }
}

List jobs

List jobs, filtered by client, job template or status.

Inputs

Clientcidtext
Only jobs for this client.
Job template IDwidtext
Only jobs made from this job template.
Statusstatustext
Only jobs with this status. Every status if empty.One of: pending, ready, overdue, completed, cancelled.

Outputs

dataobject
The response from Senta.
Example output
{
  "data": {
    "docs": [
      {
        "_id": "j78ecbe073def",
        "cid": "c260af21ede8f",
        "date": "2019-08-26T00:00:00.000Z",
        "title": "Accounts setup",
        "wid": "w263ba3fa138b"
      }
    ]
  }
}

Search clients

Find clients whose details match some keywords.

Inputs

KeywordskeywordstextRequired
Words to match clients against, such as part of a name.

Outputs

dataobject
The response from Senta.
Example output
{
  "data": {
    "docs": [
      {
        "_id": "c260af21ede8f",
        "title": "Watchful Cobweb"
      }
    ]
  }
}

Update client

Change a client's details or add contacts. Only the fields you fill in change.

Inputs

ClientclientIdtextRequired
The client's Senta ID, from Search clients.
Client nametitletext
The client's name.
Stateclientstatetext
The client's state as your practice names it, such as Prospect or Client. Moving a prospect to Client starts its jobs, as it does in Senta.
Client typeclienttypetext
Its type as your practice names it, such as Partnership.
Business areabusinessareatext
Its business area, such as Veterinary.
Phonetelephonetext
Its phone number.
Websitewebtext
Its website.
Twittertwittertext
Its Twitter handle, without the @.
Address line 1address1text
The first line of its address.
Address line 2address2text
The second line of its address.
Towntowntext
Its town.
Districtdistricttext
Its district or county.
Postcodepostcodetext
Its postcode.
Payment methodpaymentmethodtext
How it pays, such as Monthly.
VAT servicevatservicetrue/false
Turn the VAT service on, which starts its jobs.
Contactscontactslist
Contacts to add. On an update, a contact with an existing contact's name is changed, and a new one is added.

Outputs

dataobject
The response from Senta.
Example output
{
  "data": {
    "doc": {
      "_id": "c260af21ede8f",
      "address1": "8 Somerset Hall Road",
      "address2": "Flat 2",
      "businessarea": "Veterinary",
      "clientstate": "Client",
      "clienttype": "Partnership",
      "contacts": [
        {
          "email": "tammy.bailey@example.com",
          "firstname": "Tammy",
          "lastname": "Bailey",
          "mobile": "07700 900898",
          "shareholding": 50
        }
      ],
      "district": "Dorset",
      "paymentmethod": "Monthly",
      "postcode": "DT9 3BV",
      "telephone": "01632 963561",
      "title": "Watchful Cobweb Ltd",
      "total": 0,
      "town": "Sherborne",
      "twitter": "watchfulcobweb",
      "vatservice": true,
      "web": "www.watchfulcobweb.co"
    }
  }
}

On this page