Task
Each contact needs PDF_URL like https://site.example/files/{customer_id}.pdf. If customer_id is empty, no link should be exported.
Short answer
Create PDF_URL from customer_id, add the prefix and .pdf only for non-empty values, then require a non-empty result.
How to do it in Eofferix
- Upload the contacts table and open the table editor.

The preview shows only rows with non-empty customer_idand a ready personal link. - Create
PDF_URLfromcustomer_id: replace empty values with empty output; for non-empty values addhttps://site.example/files/and.pdf.
Prefix and suffix are added only when customer_idis not empty. - Add a result condition: export the field only when
PDF_URLis not empty. - Save the template and use the column as a Mailchimp merge field.
Before / after
The data below is a training example and does not belong to real user files.
Before
source data| contact_id | customer_id |
|---|---|
| C-1001 | 1024 |
| C-1002 | |
| C-1003 | 2048 |
After
result| contact_id | PDF_URL |
|---|---|
| C-1001 | https://site.example/files/1024.pdf |
| C-1003 | https://site.example/files/2048.pdf |