This shared base demonstrates how you can perform a mail merge using Airtable and the Lob.com service using this script.

For a quick video tutorial on using the script look here.

There are two scripting blocks in this base:

  1. Get table and field IDs (Script Shown Below). This code allows you to obtain your own unique table and field IDs, which you will use to update your “Send Letter” script. I recommend using field IDs and table IDs instead of names, so that any changes to the table or field names won’t break your script.
  2. Send Letter (To view this script check out the Airtable Universe Base). This interacts with the Lob API to mail a letter.