def report_created_message(payload):
    """
    Build a Slack message about a newly created report.

    """
    report_url = payload['report']['url']
    report_name = payload['report']['name']
    report_creator = payload['report']['creator']
    space_name = payload['space']['name']
    space_url = payload['space']['url']

    message = '{} just created the <{}|{}> report in the <{}|{}> space.'
    message = message.format(report_creator, report_url, report_name, space_url, space_name)

    attachments = [
        {
            'fallback': message,
            'color': 'good',
            'author_name': 'Mode',
            'author_link': 'https://modeanalytics.com/',
            'title': 'New Report Created :plus1:',
            'text': message
        }
    ]

    return attachments