How to send a notification via Rules with {{field name} + {{old value}}/{{new value}}?

Hi.

First of all, thank you for your great app / work!
Now we need little help :slight_smile:

We found this docs - Fibery but we still have a question.

We are sending notifications to our Slack notification channel. Basically it works, but right now it is quite static, so we would like to add few variables.

For example we have a DB “Card” and the next fields:

  • State
  • Due Complete
  • Priority (single select)
  • Tags (Multi Select)
  • Assignees (Relation / People)

Is it possible to send something like:
The field “{{ field_name }}” of the card “{{Name}}” has been updated. New value: {{new_value}}; old value: {{old_value}}"
In other words, is it possible to create one Update rule for all needed fields and to get name of changed field + old and new values? or do we need to create Update rules for each field one by one and we can get just the current (ie the new) value of the field?

Thanks a lot!

2 Likes

At the moment, automations do not have access to the field value prior to the change that triggered the update, so it’s not possible to achieve what you want, unless you deliberately create a field with which to store the old values.

If you create a single automation rule which can be triggered by updates to multiple fields, then there is no way of identifying in the automation which field(s) have triggered it on any particular execution (unless you create ‘shadow’ field(s) to store the prior values and do a manual comparison, same as above).