Firmao
App · 24 actions
Manage customers, contacts, sales opportunities, notes, projects and tasks in Firmao CRM.
Actions
| Action | What it does |
|---|---|
| Create contact | Add a contact person to a customer. |
| Create customer | Add a customer (counterparty). |
| Create product | Add a product or service. |
| Create project | Add a project. |
| Create sales note | Record a call, meeting or note with a customer. |
| Create sales opportunity | Add a sales opportunity. |
| Create task | Add a task. |
| Create time entry | Record a user's working time, or start or end it. |
| Delete record | Move a record to Firmao's trash, where it can be restored. |
| Get email content | Get the HTML content of one email. |
| List contacts | List contact people. |
| List customer groups | List your customer groups. |
| List customers | List customers (counterparties), sorted and filtered as you choose. |
| List emails | List emails in Firmao, without their content. |
| List files | List files attached to records. |
| List offers and orders | List offers and orders. |
| List products | List products and services. |
| List projects | List projects. |
| List sales notes | List sales notes, such as calls and meetings. |
| List sales opportunities | List sales opportunities. |
| List tasks | List tasks. |
| List transaction items | List the line items of a transaction. |
| List transactions | List invoices, receipts and other sales or purchase documents. |
| Update customer | Change a customer's details. |
Create contact
Add a contact person to a customer.
Inputs
- Customer
customernumberRequired - The customer the person works for.
- First name
firstNametextRequired - Their first name.
- Last name
lastNametext - Their last name.
- Job title
positiontext - Their job title.
- Emails
emailslist - Their email addresses.
- Phones
phoneslist - Their phone numbers.
- Description
descriptiontext - Notes about them.
Outputs
dataobject- The response from Firmao.
Example output
{
"data": {
"changelog": [
{
"deletedWith": "",
"modification": "CREATE",
"newValueIsDictionary": false,
"objectClass": "contact",
"objectId": 50001,
"objectLabel": "Marzena Wojciechowska",
"oldValueIsDictionary": false,
"property": ""
}
]
}
}Create customer
Add a customer (counterparty).
Inputs
- Name
nametextRequired - The customer's full name.
- Short name
labeltext - The customer's short name, shown in lists.
- Type
customerTypetext - The kind of customer as Firmao names it, such as PARTNER.
- Description
descriptiontext - What the customer does.
- Emails
emailslist - Its email addresses.
- Phones
phoneslist - Its phone numbers.
- Fax
faxNumbertext - Its fax number.
- Website
websitetext - Its website.
- Tax ID
nipNumbertext - Its tax identification number (NIP). Must be unique.
- Bank account
bankAccountNumbertext - Its bank account number.
- Employees
employeesNumbernumber - How many people it employs.At least 0.
- Ownership
ownershiptext - Its ownership as Firmao names it, such as PRIVATE.
Outputs
dataobject- The response from Firmao.
Example output
{
"data": {
"changelog": [
{
"deletedWith": "",
"modification": "CREATE",
"newValueIsDictionary": false,
"objectClass": "customer",
"objectId": 50001,
"objectLabel": "KOMP-SERVICE",
"oldValueIsDictionary": false,
"property": ""
}
]
}
}Create product
Add a product or service.
Inputs
- Name
nametextRequired - The product's name.
- Code
productCodetext - Its product code.
- For sale
saleabletrue/false - Whether it can be sold.
Outputs
dataobject- The response from Firmao.
Example output
{
"data": {
"changelog": [
{
"deletedWith": "",
"modification": "CREATE",
"newValueIsDictionary": false,
"objectClass": "product",
"objectId": 50001,
"objectLabel": "Sample Product",
"oldValueIsDictionary": false,
"property": ""
}
]
}
}Create project
Add a project.
Inputs
- Name
nametextRequired - The project's name.
- Description
descriptiontext - What the project is.
- Start
startDatedate and time - When it starts.
Outputs
dataobject- The response from Firmao.
Example output
{
"data": {
"changelog": [
{
"deletedWith": "",
"modification": "CREATE",
"newValueIsDictionary": false,
"objectClass": "project",
"objectId": 50003,
"objectLabel": "Example",
"oldValueIsDictionary": false,
"property": ""
}
]
}
}Create sales note
Record a call, meeting or note with a customer.
Inputs
- Customer
customernumberRequired - The customer it is about.
- Note
descriptiontextRequired - What happened.
- Type
typetext - The kind of note as Firmao names it, such as NOTE or MEETING.
- Date
datedate and time - When it happened.
Outputs
dataobject- The response from Firmao.
Example output
{
"data": {
"changelog": [
{
"deletedWith": "",
"modification": "CREATE",
"newValueIsDictionary": false,
"objectClass": "salesnote",
"objectId": 50011,
"objectLabel": "",
"oldValueIsDictionary": false,
"property": ""
}
]
}
}Create sales opportunity
Add a sales opportunity.
Inputs
- Name
labeltextRequired - What the opportunity is.
- Currency
currencytextRequired - Its currency code, such as PLN or EUR.
- Customer
customernumber - The customer it is with.
- Value
salesOpportunityValuenumber - What it is worth.At least 0.
- Expected sale date
salesDatedate - When you expect to close it.
- Responsible user ID
responsibleUsernumber - The ID of the Firmao user who owns it.
- Stage
stagetext - The stage's key in your sales process, such as 2.
- Sales process
sellingProcesstext - The sales process's key, such as DEFAULT.
- Source
acquisitionMethodtext - How it was found, as Firmao names it, such as MARKETING_CAMPAIGN.
- Emails
emailslist - Contact email addresses.
- Phones
phoneslist - Contact phone numbers.
Outputs
dataobject- The response from Firmao.
Example output
{
"data": {
"changelog": [
{
"deletedWith": "",
"modification": "CREATE",
"newValueIsDictionary": false,
"objectClass": "salesopportunity",
"objectId": 8,
"objectLabel": "test - DELL",
"oldValueIsDictionary": false,
"property": ""
}
]
}
}Create task
Add a task.
Inputs
- Name
nametextRequired - What the task is.
- Description
descriptiontext - Details of the task.
- Project
projectnumber - The project it belongs to.
- Type
taskTypetext - The kind of task as Firmao names it, such as PROJECT.
- Status
statustext - Its status as Firmao names it, such as WAITING.
- Priority
prioritytext - Its priority as Firmao numbers it, such as 300.
- Planned start
plannedStartDatedate and time - When it should start.
- Planned end
plannedEndDatedate and time - When it should end.
- Estimated hours
estimatedHoursnumber - How many hours it should take.At least 0.
- Responsible users
responsibleUserslist - The users who do it, each by ID.
Outputs
dataobject- The response from Firmao.
Example output
{
"data": {
"changelog": [
{
"deletedWith": "",
"modification": "CREATE",
"newValueIsDictionary": false,
"objectClass": "task",
"objectId": 50017,
"objectLabel": "Example task",
"oldValueIsDictionary": false,
"property": ""
}
]
}
}Create time entry
Record a user's working time, or start or end it.
Inputs
- User ID
usernumberRequired - The ID of the Firmao user the time is for.
- Type
typetextRequired - The kind of time as Firmao names it, such as TASK.
- From
dateTimeFromdate and time - When the work started.
- To
dateTimeTodate and time - When the work ended.
Outputs
dataobject- The response from Firmao.
Example output
{
"data": {
"changelog": [
{
"deletedWith": "",
"modification": "ATTACH",
"newValueClass": "timeentry",
"newValueDisplay": "Jacob Smith, TASK",
"newValueId": "50037",
"newValueIsDictionary": false,
"objectClass": "user",
"objectId": 1,
"objectLabel": "Jacob Smith",
"oldValueIsDictionary": false,
"property": "timeEntry"
}
]
}
}Delete record
Move a record to Firmao's trash, where it can be restored.
Inputs
- Kind of record
object_typetextRequired - What kind of record it is.One of:
customers(Customer),contacts(Contact),projects(Project),tasks(Task),products(Product or service),salesnotes(Sales note),salesopportunities(Sales opportunity),offers(Offer or order),transactions(Transaction). - Record ID
idnumberRequired - The record's ID.
Outputs
dataobject- The response from Firmao.
Example output
{
"data": {
"changelog": [
{
"deletedWith": "",
"modification": "CHANGE",
"newValueIsDictionary": false,
"objectClass": "customer",
"objectId": 50001,
"objectLabel": "KOMP-SERVICE",
"oldValueIsDictionary": false,
"property": "deleted"
}
]
}
}Get email content
Get the HTML content of one email.
Inputs
- Email ID
idnumberRequired - The email's ID, from List emails.
Outputs
dataobject- The response from Firmao.
Example output
{
"data": {
"content": {
"html": "<html><body><p>Email content...</p></body></html>"
},
"id": 58
}
}List contacts
List contact people.
Inputs
- Start at
startnumber - How many records to skip, to read the next page.At least 0.
- Limit
limitnumber - The most records to return. The maximum depends on your plan.At least 1.
- Sort by
sorttext - The field to sort by, such as name, id or creationDate.
- Sort direction
dirtext - Ascending or descending.One of:
ASC(Ascending),DESC(Descending). - ID
record_idnumber - Only the record with this ID.
- Customer
customernumber - Only records for this customer.
Outputs
dataobject- The response from Firmao.
Example output
{
"data": {
"data": [
{
"creationDate": "2002-12-13T11:40:45Z",
"customer": {
"id": 50,
"label": "Internet Center"
},
"departament": "Sekretariat",
"email": "anna.wojewodzka@mailinator.com",
"emails": [
"anna.wojewodzka@mailinator.com"
],
"firstName": "Anna",
"id": 51,
"label": "Anna Wojew\u00f3dzka",
"lastName": "Wojew\u00f3dzka",
"lastUpdateDate": "2010-05-29T20:53:30Z",
"phone": "42 688 14 22",
"phones": [
"42 688 14 22"
],
"position": "Sekretarka"
}
],
"dir": "ASC",
"sort": "firstName",
"totalSize": 1
}
}List customer groups
List your customer groups.
Inputs
- Start at
startnumber - How many records to skip, to read the next page.At least 0.
- Limit
limitnumber - The most records to return. The maximum depends on your plan.At least 1.
- Sort by
sorttext - The field to sort by, such as name, id or creationDate.
- Sort direction
dirtext - Ascending or descending.One of:
ASC(Ascending),DESC(Descending). - ID
record_idnumber - Only the record with this ID.
Outputs
dataobject- The response from Firmao.
Example output
{
"data": {
"data": [
{
"creationDate": "2010-07-13T07:00:00Z",
"id": 1,
"lastUpdateDate": "2010-07-13T07:00:00Z",
"name": "Stali klienci",
"salesmen": [
{
"id": 5,
"label": "Anthony Wilson"
}
]
}
],
"dir": "ASC",
"sort": "name",
"totalSize": 1
}
}List customers
List customers (counterparties), sorted and filtered as you choose.
Inputs
- Start at
startnumber - How many records to skip, to read the next page.At least 0.
- Limit
limitnumber - The most records to return. The maximum depends on your plan.At least 1.
- Sort by
sorttext - The field to sort by, such as name, id or creationDate.
- Sort direction
dirtext - Ascending or descending.One of:
ASC(Ascending),DESC(Descending). - ID
record_idnumber - Only the record with this ID.
- Name contains
name_containstext - Only records whose name contains this text.
Outputs
dataobject- The response from Firmao.
Example output
{
"data": {
"data": [
{
"balance": 0.0,
"bankAccountNumber": "50 1020 5558 1111 1702 0600 0067",
"creationDate": "2002-12-13T11:40:45Z",
"customerType": "PARTNER",
"description": "A company specializing in computer service",
"email": "kompservice.firmao@mailinator.com",
"emails": [
"kompservice.firmao@mailinator.com"
],
"employeesNumber": 1,
"faxNumber": "22 398 78 87",
"id": 51,
"income": 0.0,
"label": "KOMP-SERVICE",
"lastUpdateDate": "2010-05-29T20:53:30Z",
"name": "KOMP-SERVICE Jan Kowalski",
"nipNumber": "7291077843",
"officeAddress": {
"city": "Pruszk\u00f3w",
"country": "Poland",
"postCode": "05-800",
"street": "Stefana Batorego 3/4"
},
"ownership": "PRIVATE",
"phone": "22 345 74 26",
"phones": [
"22 345 74 26"
],
"website": "www.kompservice.bis"
}
],
"dir": "ASC",
"sort": "name",
"totalSize": 1
}
}List emails
List emails in Firmao, without their content.
Inputs
- Start at
startnumber - How many records to skip, to read the next page.At least 0.
- Limit
limitnumber - The most records to return. The maximum depends on your plan.At least 1.
- Sort by
sorttext - The field to sort by, such as name, id or creationDate.
- Sort direction
dirtext - Ascending or descending.One of:
ASC(Ascending),DESC(Descending). - ID
record_idnumber - Only the record with this ID.
- Mailbox
boxtext - Only emails in this mailbox, such as INBOX.
Outputs
dataobject- The response from Firmao.
Example output
{
"data": {
"data": [
{
"attachment": false,
"box": "INBOX",
"cc": [
"mailadress@mailinator.com"
],
"customer": {
"id": 1,
"label": "DELL"
},
"id": 58,
"read": true,
"sender": "dell@gmail.com",
"sentDate": "2017-09-08T07:56:50Z",
"subject": "Order",
"to": [
"test@firmao.pl"
]
}
],
"dir": "ASC",
"sort": "sentDate",
"totalSize": 1
}
}List files
List files attached to records.
Inputs
- Start at
startnumber - How many records to skip, to read the next page.At least 0.
- Limit
limitnumber - The most records to return. The maximum depends on your plan.At least 1.
- Sort by
sorttext - The field to sort by, such as name, id or creationDate.
- Sort direction
dirtext - Ascending or descending.One of:
ASC(Ascending),DESC(Descending). - ID
record_idnumber - Only the record with this ID.
Outputs
dataobject- The response from Firmao.
Example output
{
"data": {
"data": [
{
"contentType": "image/png",
"creationDate": "2017-09-08T07:27:05Z",
"fileSize": 15861,
"name": "specjalista.png",
"objectClass": "mail",
"objectId": 23,
"objectLabel": "Kalendarium Szkole\u0144 - Wrzesie\u0144 2017"
}
],
"dir": "ASC",
"sort": "name",
"totalSize": 1
}
}List offers and orders
List offers and orders.
Inputs
- Start at
startnumber - How many records to skip, to read the next page.At least 0.
- Limit
limitnumber - The most records to return. The maximum depends on your plan.At least 1.
- Sort by
sorttext - The field to sort by, such as name, id or creationDate.
- Sort direction
dirtext - Ascending or descending.One of:
ASC(Ascending),DESC(Descending). - ID
record_idnumber - Only the record with this ID.
- Customer
customernumber - Only records for this customer.
Outputs
dataobject- The response from Firmao.
Example output
{
"data": {
"data": [
{
"bruttoPrice": 999.0,
"creationDate": "2012-11-09T12:06:47Z",
"currency": "PLN",
"customer": {
"id": 50,
"label": "Internet Center"
},
"id": 2,
"lastUpdateDate": "2012-11-09T12:06:47Z",
"mode": "SALE",
"nettoPrice": 818.85,
"number": "1/11/2012/U",
"offerDate": "2012-11-09",
"offerStatus": "NEW",
"paymentDate": "2012-11-09",
"type": "OFFER"
}
],
"dir": "ASC",
"sort": "name",
"totalSize": 1
}
}List products
List products and services.
Inputs
- Start at
startnumber - How many records to skip, to read the next page.At least 0.
- Limit
limitnumber - The most records to return. The maximum depends on your plan.At least 1.
- Sort by
sorttext - The field to sort by, such as name, id or creationDate.
- Sort direction
dirtext - Ascending or descending.One of:
ASC(Ascending),DESC(Descending). - ID
record_idnumber - Only the record with this ID.
- Name contains
name_containstext - Only records whose name contains this text.
Outputs
dataobject- The response from Firmao.
Example output
{
"data": {
"data": [
{
"createdBy": {
"id": 1,
"label": "Jacob Smith"
},
"creationDate": "2012-07-17T08:39:15Z",
"currentStoreState": 50.0,
"description": "Example product",
"grossPrice": 12.3,
"id": 50001,
"lastUpdateDate": "2012-07-17T08:39:15Z",
"name": "Example product rename",
"netPrice": 10.0,
"productCode": "PR1",
"saleGrossPrice": 14.76,
"saleNetPrice": 12.0,
"saleable": true,
"unit": "pcs",
"vat": 23.0
}
],
"dir": "ASC",
"sort": "name",
"totalSize": 1
}
}List projects
List projects.
Inputs
- Start at
startnumber - How many records to skip, to read the next page.At least 0.
- Limit
limitnumber - The most records to return. The maximum depends on your plan.At least 1.
- Sort by
sorttext - The field to sort by, such as name, id or creationDate.
- Sort direction
dirtext - Ascending or descending.One of:
ASC(Ascending),DESC(Descending). - ID
record_idnumber - Only the record with this ID.
- Name contains
name_containstext - Only records whose name contains this text.
Outputs
dataobject- The response from Firmao.
Example output
{
"data": {
"data": [
{
"balance": 0,
"budget": 0,
"createdBy": {
"id": 1,
"label": "Jacob Smith"
},
"creationDate": "2017-09-21T13:08:59Z",
"description": "Description",
"id": 50001,
"lastUpdateDate": "2017-09-21T13:08:59Z",
"managers": [
{
"id": 10,
"label": "Denise Taylor"
}
],
"name": "Example",
"startDate": "2012-07-16T22:00:00Z",
"teamMembers": [
{
"id": 6,
"label": "Emma Clark"
}
]
}
],
"dir": "ASC",
"sort": "name",
"totalSize": 1
}
}List sales notes
List sales notes, such as calls and meetings.
Inputs
- Start at
startnumber - How many records to skip, to read the next page.At least 0.
- Limit
limitnumber - The most records to return. The maximum depends on your plan.At least 1.
- Sort by
sorttext - The field to sort by, such as name, id or creationDate.
- Sort direction
dirtext - Ascending or descending.One of:
ASC(Ascending),DESC(Descending). - ID
record_idnumber - Only the record with this ID.
- Customer
customernumber - Only records for this customer.
Outputs
dataobject- The response from Firmao.
Example output
{
"data": {
"data": [
{
"createdBy": {
"id": 1,
"label": "Jacob Smith"
},
"creationDate": "2017-09-12T12:06:19Z",
"customer": {
"id": 50,
"label": "Internet Center"
},
"date": "2017-09-12T12:06:00Z",
"description": "spotkanie",
"id": 50006,
"lastUpdateDate": "2017-09-12T12:06:18Z",
"type": "MEETING"
}
],
"dir": "ASC",
"sort": "date",
"totalSize": 1
}
}List sales opportunities
List sales opportunities.
Inputs
- Start at
startnumber - How many records to skip, to read the next page.At least 0.
- Limit
limitnumber - The most records to return. The maximum depends on your plan.At least 1.
- Sort by
sorttext - The field to sort by, such as name, id or creationDate.
- Sort direction
dirtext - Ascending or descending.One of:
ASC(Ascending),DESC(Descending). - ID
record_idnumber - Only the record with this ID.
- Customer
customernumber - Only records for this customer.
Outputs
dataobject- The response from Firmao.
Example output
{
"data": {
"data": [
{
"creationDate": "2023-09-11T05:28:14Z",
"currency": "PLN",
"customer": {
"id": 1,
"label": "DELL"
},
"description": "Upgrade of all laptops",
"id": 8,
"label": "test",
"lastUpdateDate": "2023-09-11T05:28:13Z",
"responsibleUser": {
"id": 1,
"label": "Jacob Smith"
},
"salesDate": "2023-09-14",
"salesOpportunityValue": 11111.0,
"stage": {
"key": "3",
"label": "Lead pozyskany"
},
"status": "OPEN"
}
],
"dir": "ASC",
"sort": "creationDate",
"totalSize": 1
}
}List tasks
List tasks.
Inputs
- Start at
startnumber - How many records to skip, to read the next page.At least 0.
- Limit
limitnumber - The most records to return. The maximum depends on your plan.At least 1.
- Sort by
sorttext - The field to sort by, such as name, id or creationDate.
- Sort direction
dirtext - Ascending or descending.One of:
ASC(Ascending),DESC(Descending). - ID
record_idnumber - Only the record with this ID.
- Name contains
name_containstext - Only records whose name contains this text.
Outputs
dataobject- The response from Firmao.
Example output
{
"data": {
"data": [
{
"createdBy": {
"id": 1,
"label": "Jacob Smith"
},
"creationDate": "2017-09-21T13:11:51Z",
"description": "Description",
"estimatedHours": 8,
"id": 50033,
"lastUpdateDate": "2017-09-21T13:11:51Z",
"name": "Example task",
"percentDone": 0,
"plannedEndDate": "2012-07-17T22:00:00Z",
"plannedStartDate": "2012-07-16T22:00:00Z",
"priority": 300,
"responsibleUsers": [
{
"id": 2,
"label": "Ethan Lam"
}
],
"status": {
"group": "OPEN",
"key": "WAITING",
"label": "Pending"
},
"taskType": "PROJECT"
}
],
"dir": "ASC",
"sort": "name",
"totalSize": 1
}
}List transaction items
List the line items of a transaction.
Inputs
- Start at
startnumber - How many records to skip, to read the next page.At least 0.
- Limit
limitnumber - The most records to return. The maximum depends on your plan.At least 1.
- Sort by
sorttext - The field to sort by, such as name, id or creationDate.
- Sort direction
dirtext - Ascending or descending.One of:
ASC(Ascending),DESC(Descending). - ID
record_idnumber - Only the record with this ID.
- Transaction ID
transactionnumber - The transaction whose items to list.
Outputs
dataobject- The response from Firmao.
Example output
{
"data": {
"data": [
{
"grossPrice": 246.0,
"id": 50081,
"nettoPrice": 200.0,
"productCode": "DELL001",
"quantity": 2.0,
"unit": "pcs",
"unitNettoPrice": 100.0,
"vatPercent": 23.0
}
],
"dir": "ASC",
"sort": "name",
"totalSize": 1
}
}List transactions
List invoices, receipts and other sales or purchase documents.
Inputs
- Start at
startnumber - How many records to skip, to read the next page.At least 0.
- Limit
limitnumber - The most records to return. The maximum depends on your plan.At least 1.
- Sort by
sorttext - The field to sort by, such as name, id or creationDate.
- Sort direction
dirtext - Ascending or descending.One of:
ASC(Ascending),DESC(Descending). - ID
record_idnumber - Only the record with this ID.
- Customer
customernumber - Only records for this customer.
Outputs
dataobject- The response from Firmao.
Example output
{
"data": {
"data": [
{
"creationDate": "2002-12-13T11:40:45Z",
"currency": "PLN",
"customer": {
"id": 50,
"label": "Internet Center"
},
"id": 50,
"invoiceDate": "2010-09-27",
"lastUpdateDate": "2010-05-29T20:53:30Z",
"mode": "SALE",
"name": "Sale of DE PC",
"paid": true,
"paidValue": 999.0,
"paymentDate": "2010-09-30",
"paymentType": "TRANSFER",
"restOfPaidValue": 0.0,
"transactionDate": "2010-09-24",
"transactionGrossPrice": 999.0,
"transactionNettoPrice": 818.85,
"transactionNumber": "1/1/2010",
"transactionVatPrice": 180.15,
"type": "INVOICE"
}
],
"dir": "ASC",
"sort": "name",
"totalSize": 1
}
}Update customer
Change a customer's details. Firmao advises changing one field at a time.
Inputs
- Customer
idnumberRequired - The customer to change.
- Name
nametext - The customer's new full name.
- Short name
labeltext - The customer's short name, shown in lists.
- Type
customerTypetext - The kind of customer as Firmao names it, such as PARTNER.
- Description
descriptiontext - What the customer does.
- Emails
emailslist - Its email addresses.
- Phones
phoneslist - Its phone numbers.
- Fax
faxNumbertext - Its fax number.
- Website
websitetext - Its website.
- Tax ID
nipNumbertext - Its tax identification number (NIP). Must be unique.
- Bank account
bankAccountNumbertext - Its bank account number.
- Employees
employeesNumbernumber - How many people it employs.At least 0.
- Ownership
ownershiptext - Its ownership as Firmao names it, such as PRIVATE.
Outputs
dataobject- The response from Firmao.
Example output
{
"data": {
"changelog": [
{
"deletedWith": "",
"modification": "CREATE",
"newValueIsDictionary": false,
"objectClass": "customer",
"objectId": 50001,
"objectLabel": "KOMP-SERVICE",
"oldValueIsDictionary": false,
"property": ""
}
]
}
}