最近の検索


最近の検索はありません

Colin Crowley's Avatar

Colin Crowley

参加日2021年4月15日

·

前回のアクティビティ2021年10月27日

フォロー中

0

フォロワー

0

合計アクティビティ

6

投票

1

受信登録

2

アクティビティの概要

さんの最近のアクティビティ Colin Crowley

Colin Crowleyさんがコメントを作成しました:

コミュニティのコメント Q&A - Tickets and email

Hi Andrey,

Thanks, you have been super helpful... so very much appreciated!

One last question, if you don't mind...

What would you recommend if I only wanted to trigger a signature if two tags were on the same ticket, as opposed to one?

Example:

{% elsif ticket.tags contains 'test' and 'test' %}

Fresh wishes,
{{current_user.name}} [{{ticket.account}}]
Freshly Customer Experience
https://support.freshly.com/hc/en-us/categories/115001757948-Delivery-Shipping" rel="noreferrer" target="_blank">https://i.imgur.com/GQu00A7.jpg" alt="Visit us at Freshly.com!">

{% elsif ticket.tags contains 'test' %}

Fresh wishes,
{{current_user.name}} [{{ticket.account}}]Freshly Customer Experience
https://www.freshly.com/contact" rel="noreferrer" target="_blank">https://i.imgur.com/UZbvvPM.jpg" alt="Visit us at Freshly.com!">

...where, if 'test' and 'test2' are both on a ticket, Signature A is added, but, if only 'test' is on a ticket, Signature B is added.

All my best,

Colin

コメントを表示 · 投稿日時:2020年5月22日 · Colin Crowley

0

フォロワー

0

投票

0

コメント


Colin Crowleyさんがコメントを作成しました:

コミュニティのコメント Q&A - Tickets and email

Hi Andrey,

Thanks, that does help!!

What would you recommend coding-wise for making the current_user_name more prominent?

Can I use a standard header tag?

All my best,

Colin

コメントを表示 · 投稿日時:2020年5月19日 · Colin Crowley

0

フォロワー

0

投票

0

コメント


Colin Crowleyさんがコメントを作成しました:

コミュニティのコメント Q&A - Tickets and email

Hi Andrey,

Very helpful chain here!

We are trying to use Zignature and are having issues with the coding, though I'm not sure what's wrong. We're trying to allow for using multiple signatures to be applied dynamically based on tags on tickets - and in one case, send no signature.

It seems we can get the coding to work here:

{% if ticket.tags contains 'twiliotext' %}
{%- else -%}

Fresh wishes,

{{current_user.name}} [{{ticket.account}}]

Freshly Customer Experience

https://www.freshly.com/contact" rel="noreferrer" target="_blank">https://i.imgur.com/t609Lt9.jpg" alt="Visit us at Freshly.com!">
{% endif %}
 
But when we try to make it more elaborate, the logic doesn't work (such as if I tried to add the tag "deliverysupport", I get the last signature option below):
 
{% if ticket.tags contains 'twiliotext' %}
{% elsif ticket.tags contains ‘standardtext' %}
{% elsif ticket.tags contains ‘messagebird' %}
{% elsif ticket.tags contains ‘deliverysupport' %}

Fresh wishes,

{{current_user.name}} [{{ticket.account}}]

Freshly Customer Experience


 https://support.freshly.com/hc/en-us/categories/115001757948-Delivery-Shipping" rel="noreferrer" target="_blank">https://i.imgur.com/GQu00A7.jpg" alt="Visit us at Freshly.com!">
{% elsif ticket.tags contains ‘freshlyplus' %}

Fresh wishes,

{{current_user.name}} [{{ticket.account}}]

Freshly Customer Experience


 https://www.freshly.com/contact" rel="noreferrer" target="_blank">https://i.imgur.com/UZbvvPM.jpg" alt="Visit us at Freshly.com!">
{%- else -%}

Fresh wishes,

{{current_user.name}} [{{ticket.account}}]

Freshly Customer Experience


 https://www.freshly.com/contact" rel="noreferrer" target="_blank">https://i.imgur.com/t609Lt9.jpg" alt="Visit us at Freshly.com!">
{% endif %}

All my best,

Colin

コメントを表示 · 投稿日時:2020年5月16日 · Colin Crowley

0

フォロワー

0

投票

0

コメント