Plutio Logo
Product
Work AI
TemplatesPricing
Log inTry for free
My account
Sign up
My account
Menu

Product

PricingIntegrationsFeaturesTemplates
new
Changelog
new

Support

Community
On-boarding
Help centre
Contact usStatus

Resources

Stories & SetupsAlternativesComparisonsSolutionsFree toolsMagazine

Company

AboutIn the pressBrand assetsAffiliates

Platforms

API docs
iPhone & iPad
Android
Mac & Windows
Twitter
YouTube
Instagram
Linkedin

All powered by

AI that runs your entire business as if it were you

Proposals drafted, invoices chased, clients updated - ask, and it's done.

Learn more

Close
Log inTry for free
My account
Pricing

Product

Super Work AI

Support

On-boarding
Help centre
Contact usCommunity
Status

Resources

TemplatesAPI docs
AffiliatesStories & SetupsAlternativesComparisonsFree toolsMagazineIntegrations

Company

AboutIn the pressBrand assets

Platforms

iPhone & iPad
Android
Mac & Windows

Connect

Twitter
YouTube
Instagram
Linkedin
Try Plutio free
On this page
  • Where conditions work
  • Show text only when a variable has a value
  • Show other text when it's empty (else)
  • Show text only when a variable is empty (unless)
  • What counts as empty
  • What conditions can't do
Contacts and CRM
  • Contacts overview
  • Creating and managing contacts
  • Contact detail page
  • Companies - creating and managing
  • Companies - company detail page
  • Contact custom fields
  • Linking contacts to projects
  • Contact activities and notes
  • Contact import and export
  • Smart fields (variables)
  • Show or hide text with if/else
  • Deactivating and reactivating contacts

Help Center / Contacts and CRM /

Show or hide text with if/else

An if/else condition shows a piece of text only when a variable has a value, and other text when it doesn't. So one proposal, contract or invoice template reads right for every client, whether or not their company name, phone number or project is filled in.

Where conditions work

Conditions work anywhere variables work in text you write:

  • text blocks and intro blocks of proposals, contracts and invoices, and the templates they come from
  • emails and messages sent by automations

Type the condition straight into the text. The Variables button in the editor toolbar inserts the variable itself, for example {{client.company.name}}, and the condition goes around it.

Show text only when a variable has a value

Put the text between {{#if variable}} and {{/if}}:

Hi {{client.firstName}}{{#if client.company.name}} from {{client.company.name}}{{/if}},

For a client at Bob's Deli, the line reads "Hi Anna from Bob's Deli,". For a client with no company, it reads "Hi Anna,". The words "from" and the company name disappear together, so no half sentence is left behind.

Show other text when it's empty (else)

Add {{else}} to give the text to show when the variable is empty:

{{#if project.name}}Project: {{project.name}}{{else}}This agreement covers the work described below.{{/if}}

A document linked to a project shows the project's name. A document without a project shows the sentence after {{else}}.

Show text only when a variable is empty (unless)

{{#unless variable}} is the opposite of {{#if}}: its text shows only when the variable is empty. It takes an {{else}} too:

{{#unless invoice.paidDate}}Payment pending{{else}}Paid on {{invoice.paidDate}}{{/unless}}

What counts as empty

A variable counts as empty when it has nothing in it: an empty field, a client with no company, a document with no project.

A variable that's empty and not inside a condition stays in the document as its raw text, for example {{client.phone}}. Wrapping it in {{#if client.phone}}…{{/if}} hides it instead.

What conditions can't do

  • Check what the value is. A condition only checks whether a variable has a value. It can't check which value, for example whether the client's country is France.
  • Check two variables at once. Each condition checks one variable. Two optional details get a condition each, written side by side.

Join 17,000+ businesses

★★★★★

4.6 on Capterra

No credit card required

Need help?

Workspace owners and co-owners can open a conversation with our support team from inside Plutio.

Try Plutio Free

Continue learning

More on contacts and CRM

Smart fields (variables)

Smart fields are variables you insert into proposals, contracts, invoices, emails, and automations that replace themselves with real data when the document is viewed or sent.

Contacts overview

The Contacts page has two tabs: People and Companies. The People tab lists individual contacts; clients, leads, team members, and anyone you work with.

Contact custom fields

Custom fields extend People and Company records beyond the built-in fields, so any data specific to your business can be captured, filtered, and used.

Custom fields configuration

Custom fields let you add any data type to contacts, projects, tasks, invoices, proposals, contracts, and other entities in your workspace.

Proposal and contract templates

Proposals and contracts can be saved as templates, preserving every block, layout decision, content section, and pricing structure.

Email template branding

Email templates control the content and appearance of automated emails sent from your workspace.

Automations overview

Automations run actions automatically when something happens in your workspace, reducing repetitive manual steps.

Product

PricingIntegrationsFeaturesTemplates
new
Changelog
new

Support

On-boarding
Help centre
Contact usStatus

Resources

Community
AffiliatesStories & SetupsMagazine

Company

AboutIn the pressBrand assets

Platforms

API docs
iPhone & iPad
Android
Mac & Windows

Products

ContractsDashboardsFilesFormsInboxInvoicingProjectsProposalsSchedulingTasksTimesheets

Compare

vs 17hatsvs Acuityvs Agiledvs AND.COvs Asanavs Basecampvs Bloom.iovs Bonsaivs Calendlyvs ClickUpvs Clockifyvs Copilotvs Dubsadovs Flowluvs FreshBooksvs Harvestvs HoneyBookvs HubSpotvs Indyvs Mondayvs Moxievs Notionvs PandaDocvs Paymovs Pipedrivevs QuickBooksvs Scorovs SuiteDashvs Teamworkvs Togglvs Trellovs Wavevs Wrikevs Xerovs Zoho

Alternatives

17hatsAcuityAgiledAND.COAsanaBasecampBloom.ioBonsaiCalendlyClockifyCopilotDocuSignDubsadoFlowluFreshBooksHarvestHoneyBookHubSpotIndyMondayMoxieNotionPandaDocPaymoPipedriveProposifyQuickBooksScoroSuiteDashTeamworkTogglTrelloWaveWrikeXeroZoho

Solutions

AccountantsAgenciesArchitectsBookkeepersCoachesConsultantsCopywritersDesignersDevelopersEvent PlannersFreelancersInterior DesignersLawyersMarketersMusic ProducersPhotographersPR ProfessionalsReal Estate AgentsSmall BusinessSocial Media ManagersSolopreneursTherapistsVideo ProducersVideographersVirtual AssistantsWedding PlannersWriters

Free Tools

Break-Even CalculatorContract GeneratorDiscount CalculatorDiscount Code GeneratorInvoice GeneratorLate Fee CalculatorNDA GeneratorProfit Margin CalculatorProject Budget CalculatorRate CalculatorSalary to Hourly CalculatorSavings CalculatorTax CalculatorUK Tax Calculator
Twitter
YouTube
Instagram
Linkedin
Facebook
Terms of ServiceFair Usage PolicyPrivacy PolicyCookie PolicyGDPR CommitmentData Processing AgreementSub-processorsNotice at collectionPrivacy choices
Plutio customer review signature
Plutio Logo

One app to run, grow, and automate your business with Super Work AI

Plutio customer review signature