Skip to content

Conversation

jhk0530
Copy link
Contributor

@jhk0530 jhk0530 commented Jun 11, 2025

Issue mentioned in #2526

This pull request adds a new section to the templating documentation to support campaigns. The most important change introduces template expressions for accessing campaign-related data.

Documentation updates:

  • docs/docs/content/templating.md: Added a new "Campaigns" section with template expressions, including {{ .Campaign.UUID }} to retrieve the unique ID of a campaign.

@jhk0530
Copy link
Contributor Author

jhk0530 commented Jun 11, 2025

Hello,

I wasn't sure if Campaigns (from Functions below) or Campaign fields (from Subscriber fields before) would make more sense, so I added it as Campaigns.

Feel free to modify this if you need to.

@knadh knadh added the documentation Improvements or additions to documentation label Jun 18, 2025
@knadh knadh merged commit a9d3591 into knadh:master Jun 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants