def action_module_name(action_name):
    """ returns the module name mapped from the action name """
    action_words = action_name.split(' ')
    package_name = action_words[:-1]
    module_name = action_words[-1] + '_'
    return 'openpipe.actions.' + '.'.join(package_name + [module_name])
