Hello Make Community,
In my scenario I am:
- pulling data from WordPress posts,
- creating a spreadsheet,
- updating the Wordpress post with the spreadsheet ID,
- and then I want to share the spreadsheet with between 1-4 emails contained in the fields of the WordPress post.
I am struggling with point 4, as 3 of the email fields are optional and thus empty at times. The Get a Share Link Module doesn’t process any of the values if one is empty. Module 4 works fine if I only add the two fields that contain an email.
The four custom fields that can contain emails look as follows in the output bundle of Module 1:
"email_facilitator_2": "john@test.com",
"email_facilitator_3": "",
"email_facilitator_4": "",
"admin_email": "jane@test.org",
In Module 4 I have added the following in the Email Address field:
I have tried a number of different solutions to filter out the empty fields, for example with a Set Variable Module. e.g.
{{join(
ifempty(1.admin_email; null);
ifempty(1.email_facilitator_2; null);
ifempty(1.email_facilitator_3; null);
ifempty(1.email_facilitator_4; null);
“,”)
}}
But have had no luck in getting it to work.
Any suggestions and support are greatly appreciated! Happy to share any more information that may be needed, if the above is insufficient.






