Unfortunately, Google Forms itself doesn't have a built-in feature to directly mention users in Slack messages sent upon form submission. However, there are a few workarounds you can use:
1. Use Zapier integration:
- Pros: Flexible, allows customizing mentions and messages.
- Cons: Requires a Zapier account (paid plans for advanced features).
Steps:
- Create a Zap on Zapier triggered by new Google Forms submissions.
- Use the "Search Slack users" action to find the user you want to mention based on their name or email address (obtained from the form).
- Extract the user's Slack handle (e.g., "@username") from the search results.
- Use the "Send Slack message" action to send a message to the desired channel, including the user's handle for mention (e.g., "Hey @{handle}, new form submission!").
2. Use Google Apps Script with Document Studio:
- Pros: Free, direct integration with Google products.
- Cons: Requires coding knowledge, less flexible than Zapier.
Steps:
- Open your Google Form and launch Document Studio.
- Create a new workflow and add a "Slack" task.
- Connect your Google and Slack accounts.
- Choose the Slack channel for the message.
- In the message template, use the "@{SlackUsername}" variable to dynamically insert the user's Slack handle.
- You can obtain the user's Slack handle using Apps Script by fetching their email from the form and searching the Slack directory based on that email.
3. Manually add mentions in notification emails:
- Pros: Simplest option, no additional tools needed.
- Cons: Manual work required for each submission, limited to email notifications.
Steps:
- Set up email notifications for form submissions.
- In the notification email template, manually type the "@username" mention of the desired user(s).
Remember to use the correct "@username" format in all methods to ensure proper mentions in Slack. Choose the method that best suits your technical skills and desired level of automation.