Possible to Hide Parameters if Values are Not present

Status: Closed · Asked by Majeem M. on · 0 views

mjm — Question ·

While generating, Google Slide from a Template, is it possible to hide a parameter if value is not present?

For example let's assume the variables are as below:

{{first_name}}
{{last_name}}
{{plan_1}}
{{plan_2}}

If {{plan_2}} is not present, can we just not display it at all in the output file?

Same question is applicable to PDF and even Email Templates.

Pabblymember11 — Reply ·

Hey @mjm

We have made some changes in the Google Slides action as now you can now leave the variable field empty and it wouldn't pass any values which leave it empty.

Kindly try this at your end and let us know how it works for you.

Eg-

Variables in the Slide.

Variable field left empty -

After effect on the slide -

mjm — Reply ·
Hey @mjm

We have made some changes in the Google Slides action as now you can now leave the variable field empty and it wouldn't pass any values which leave it empty.

Kindly try this at your end and let us know how it works for you.

Eg-

Variables in the Slide.

Variable field left empty -

After effect on the slide -


Hi Pabbly

Can we do the same for the Google Documents Create Document from Template Action?

Pabblymember11 — Reply ·

Hey @mjm

Can we do the same for the Google Documents Create Document from Template Action?

Yes, you can create Google Documents "Create Document from Template" Action.

Further, please check out the following tutorial video for a better understanding.

(Watch the second part of the video)

youtube.com/watch?v=fiW4vrqpYpY

Back to all forum threads · Log in to reply