We are using CiviVolunteer, and trying to setup a email template in that need to display volunteer role.  I think volunteer role is in activity record type. It does not show up in the token list in email template. I can get all the custom fields I have created in the volunteer signup profile. Looking for a way to get volunteer role as token, please help

Thanks Naheed

1 Answer 1


If you need something in a token that isn't a default token, you may need to create a custom token. Here's an earlier post with some example code. (You would switch out the logic that searches for the Drupal username with some logic that pulls the Volunteer Role from CiviCRM and inserts it into the token.)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.