Before taking leave, decide what your teammates or customers should do while you are away. State when you can respond and give an agreed backup contact for work that cannot wait.
Name a contact who has agreed to cover
Share only the contact details your workplace uses for that audience. State what the backup person can handle and which channel to use. In an external automatic reply, keep your private plans and any internal-only links out of the message.

A Japanese example you can adapt
[日付]まで不在のため、メールへの返信は[日付]以降となります。お急ぎの場合は[連絡先]までご連絡ください。
English. I am out of the office until [date] and will respond from [date]. For urgent matters, please contact [contact].
Check the dates before turning it on
Write full dates if the message crosses a month boundary. Test the response if your system allows it and confirm when it will turn off. Tell the backup person what to expect.

