def build_msg(request, msg_type, name, drink):
	"""Personalize SMS by replacing tags with customer info"""
	msg = request.form.get(msg_type)

	msg = msg.replace('<firstName>', name)
	msg = msg.replace('<productType>', drink)

	return msg