Platform-OS / platformos-documentation

Source files for the official platformOS Documentation.
https://documentation.platformos.com
Other
13 stars 31 forks source link

Add information on "unique_args" yaml property #1597

Open diana-lakatos opened 1 year ago

diana-lakatos commented 1 year ago

Feedback from the Documentation site:

Feedback to: https://documentation.platformos.com/developer-guide/notifications/creating-email-notification
Message: What is the "unique_args" yaml property? It seems to exist in yaml, and would be interesting to see an example of how it can be used?
Email: matt.jones@wysi.co.uk
richxrich commented 1 year ago

I believe it's only used for email notifications for sendgrid.

On Fri, 28 Apr 2023, 21:01 Diana Lakatos, @.***> wrote:

Feedback from the Documentation site: Feedback to: https://documentation.platformos.com/developer-guide/notifications/creating-email-notification Message: What is the "unique_args" yaml property? It seems to exist in yaml, and would be interesting to see an example of how it can be used? Email: @.***

— Reply to this email directly, view it on GitHub https://github.com/mdyd-dev/platformos-documentation/issues/1597, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABCJXIBOMZYQKYMWPAXCZDXDOPP5ANCNFSM6AAAAAAXPCQI64 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

JJBragg commented 1 year ago

Correct Rich! "unique_args" is a JSON string that will be sent over to SendGrid

https://docs.sendgrid.com/for-developers/sending-email/unique-arguments "The SMTP API JSON string allows you to attach an unlimited number of unique arguments to your email up to 10,000 bytes. The arguments are used only for tracking. They can be retrieved through the Event API or the Email Activity page."