Airtable items to Freeagent Invoice

I am trying to create a scenario in Make.com that takes a record from Airtable and creates an invoice in Freeagent.com.

The issue is that the invoice has multiple line items, which are pulled through from airtable, but I don’t know how to iterate through the line items and create a structure that the invoice items field on the freeagent module is expecting.

I believe I need to iterate, and then create the json structure, but I don’t really have the experience to do that!

Here is my airtable output bundle and freeagent input bundle:

[
{
“FreeAgent Ref”: “3938630 copy copy”,
“Ready to Invoice”: true,
:popcorn: CAMPAIGN”: [
“receXYbDrSEV6PnyE”
],
:memo: INVOICED ITEMS”: [
“recmkh4eEjOxeYmsc”,
“recDWZvqFOYeJAtiM”,
“recjkEKZZf5dPy2og”,
“rec1btktbM1BCi1Gz”,
“recq32SMQTaLqyzaH”,
“recFWM0FsBiT3rWk8”
],
“CLIENT”: [
“recGywQ7orhBmGQIi”
],
“CLIENT ID”: [
“12121872”
],
“PROJECT ID”: [
“3938630”
],
“PO NUMBER”: [
“recK5nfoIKika5OiB”,
“recK5nfoIKika5OiB”,
“recK5nfoIKika5OiB”,
“recK5nfoIKika5OiB”,
“recK5nfoIKika5OiB”,
“recK5nfoIKika5OiB”
],
“Created Date”: “2024-09-28T07:29:18.000Z”,
“AMOUNT”: [
“2926”,
“3155”,
“11200”,
“3500”,
“8887”,
“13796.2”
],
“ITEM DESCRIPTION”: [
“A”,
“B”,
“C”,
“D”,
“E”,
“F”
],
“PO Fx”: [
"POXXX "
],
“id”: “recRbBeP0SO9rqb26”,
“createdTime”: “2024-09-28T07:29:18.000Z”
}
]

And here’s the freeagent input bundle…

[
{
“contact”: “12121872”,
“project”: “3938630”,
“currency”: “GBP”,
“dated_on”: “2024-09-28T07:32:18.000Z”,
“po_reference”: "XXX ",
“invoice_items”: [
{
“price”: 2926,
“quantity”: 1,
“item_type”: “Products”,
“description”: “A”
}
],
“show_project_name”: true,
“payment_terms_in_days”: 15,
“send_new_invoice_emails”: false
}
]

1 Like

Hi @emurobot

This can be done in 30 mins. Please book a slot here.

@Msquare_Automation

1 Like

Hey @Msquare_Automation, that’s good to know, but I can’t find your pricing.

1 Like

Hey @emurobot

This seems simeple enough to implement on a live troubleshooting call. I do 90-minute paid support sessions and would be happy to tackle your issue.

Please find my paid booking here - click here

Have you figured this out or you still need help?

It’s pay what you can :slight_smile:

:superhero::woman_superhero:t4::superhero:
Are you tired of going back on forth on chat or email with Make support? Is posting on the community getting you frustrated?

We can help you solve your Make automation problem in just an hour! Try a Make Hero call?

Hello, My name is Alex Sirota and I am the founder of NewPath Consulting. We are a Silver Make.com partner and have been actively making automations for 5 years. We offer a one hour video call where we explain how to fix your scenarios or help you build an automation you may be having problems with. We build scenarios with you and get you over any challenges you may face and share the results with you in a video recording transcribed with links.

Book some time with us at Make.com Hero.
:superhero::woman_superhero:t4::superhero:

Alex Sirota

:heart_on_fire: Check out Make for Make Newbies Video Series :heart_on_fire:

My Solutions on Make Community