Senta
App · 8 actions
Keep your accounting practice's clients in Senta up to date, add notes and follow their jobs.
Actions
| Action | What it does |
|---|---|
| Create client | Add a client or prospect to Senta. |
| Create note | Add a note to a client, and to one of its jobs if you choose. |
| Delete client | Delete a client from Senta. |
| Get client | Get a client's details and contacts. |
| List clients in a list | Get the clients in one of your practice's saved client lists. |
| List jobs | List jobs, filtered by client, job template or status. |
| Search clients | Find clients whose details match some keywords. |
| Update client | Change a client's details or add contacts. |
Create client
Add a client or prospect to Senta.
Inputs
- Client name
titletextRequired - The client's name.
- State
clientstatetext - 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 type
clienttypetext - Its type as your practice names it, such as Partnership.
- Business area
businessareatext - Its business area, such as Veterinary.
- Phone
telephonetext - Its phone number.
- Website
webtext - Its website.
- Twitter
twittertext - Its Twitter handle, without the @.
- Address line 1
address1text - The first line of its address.
- Address line 2
address2text - The second line of its address.
- Town
towntext - Its town.
- District
districttext - Its district or county.
- Postcode
postcodetext - Its postcode.
- Payment method
paymentmethodtext - How it pays, such as Monthly.
- VAT service
vatservicetrue/false - Turn the VAT service on, which starts its jobs.
- Contacts
contactslist - 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
- Client
cidtextRequired - The client the note is about.
- Text
texttextRequired - The note. It can include HTML.
- Job ID
jidtext - The job the note is about, from List jobs.
- Note type
notetypetext - The kind of note, such as Phone call. Note if empty.
- Date
datedate 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
- Client
clientIdtextRequired - 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
- Client
clientIdtextRequired - 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 ID
clientViewIdtextRequired - 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
- Client
cidtext - Only jobs for this client.
- Job template ID
widtext - Only jobs made from this job template.
- Status
statustext - 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
- Keywords
keywordstextRequired - 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
- Client
clientIdtextRequired - The client's Senta ID, from Search clients.
- Client name
titletext - The client's name.
- State
clientstatetext - 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 type
clienttypetext - Its type as your practice names it, such as Partnership.
- Business area
businessareatext - Its business area, such as Veterinary.
- Phone
telephonetext - Its phone number.
- Website
webtext - Its website.
- Twitter
twittertext - Its Twitter handle, without the @.
- Address line 1
address1text - The first line of its address.
- Address line 2
address2text - The second line of its address.
- Town
towntext - Its town.
- District
districttext - Its district or county.
- Postcode
postcodetext - Its postcode.
- Payment method
paymentmethodtext - How it pays, such as Monthly.
- VAT service
vatservicetrue/false - Turn the VAT service on, which starts its jobs.
- Contacts
contactslist - 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"
}
}
}