cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
LC_Igor
Level: Powered On

Intercom to Slack notifiction

Hi,

 

I'm trying to get Intercom to Slack notification and here's a thing.

 

I'm doing the following: 

 

On @{triggerBody()?['created_at']}a new chat was triggered. @{triggerBody()?['assignee']?['id']}was assigned for the chat. You can followup here: @{triggerBody()?['conversation_message']?['url']}

 

But it's never quite able to show (get?) that URL for the chat. 

 

Well, I've tried to follow up on that and just send an email with a chat URL (step 3) - nope, nothing happens. I do receive an empty email with no chat link what so ever. 

 

Also, is there a way to automatically change assignee ID (which is a number) to an actual name of the person? 

 

In slack it looks like this:

On 2019-11-12T09:55:32.000Za new chat was triggered.  3441315 was assigned for the chat. You can followup here:

 

As you can see having a number instead of the name and no link to follow up renders all this quite useless...

 

Any suggestions what I might be doing wrong? 

 

I. 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Intercom to Slack notifiction

Hi @LC_Igor,

 

You can create a Parse JSON action at the bottom of trigger. Put the trigger body into the *Content then use the following Schema into it:

{
    "type": "object",
    "properties": {
        "id": {
            "type": "string"
        },
        "created": {
            "type": "integer"
        },
        "timestamp": {
            "type": "integer"
        },
        "name": {
            "type": "string"
        },
        "title": {
            "type": "string"
        },
        "mimetype": {
            "type": "string"
        },
        "filetype": {
            "type": "string"
        },
        "pretty_type": {
            "type": "string"
        },
        "user": {
            "type": "string"
        },
        "editable": {
            "type": "boolean"
        },
        "size": {
            "type": "integer"
        },
        "mode": {
            "type": "string"
        },
        "is_external": {
            "type": "boolean"
        },
        "external_type": {
            "type": "string"
        },
        "is_public": {
            "type": "boolean"
        },
        "public_url_shared": {
            "type": "boolean"
        },
        "display_as_bot": {
            "type": "boolean"
        },
        "username": {
            "type": "string"
        },
        "url_private": {
            "type": "string"
        },
        "url_private_download": {
            "type": "string"
        },
        "thumb_pdf": {
            "type": "string"
        },
        "thumb_pdf_w": {
            "type": "integer"
        },
        "thumb_pdf_h": {
            "type": "integer"
        },
        "permalink": {
            "type": "string"
        },
        "permalink_public": {
            "type": "string"
        },
        "channels": {
            "type": "array",
            "items": {
                "type": "string"
            }
        },
        "groups": {
            "type": "array"
        },
        "ims": {
            "type": "array"
        },
        "comments_count": {
            "type": "integer"
        }
    }
}

Annotation 2019-11-13 105626.png

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Community Support Team
Community Support Team

Re: Intercom to Slack notifiction

Hi @LC_Igor,

 

You can create a Parse JSON action at the bottom of trigger. Put the trigger body into the *Content then use the following Schema into it:

{
    "type": "object",
    "properties": {
        "id": {
            "type": "string"
        },
        "created": {
            "type": "integer"
        },
        "timestamp": {
            "type": "integer"
        },
        "name": {
            "type": "string"
        },
        "title": {
            "type": "string"
        },
        "mimetype": {
            "type": "string"
        },
        "filetype": {
            "type": "string"
        },
        "pretty_type": {
            "type": "string"
        },
        "user": {
            "type": "string"
        },
        "editable": {
            "type": "boolean"
        },
        "size": {
            "type": "integer"
        },
        "mode": {
            "type": "string"
        },
        "is_external": {
            "type": "boolean"
        },
        "external_type": {
            "type": "string"
        },
        "is_public": {
            "type": "boolean"
        },
        "public_url_shared": {
            "type": "boolean"
        },
        "display_as_bot": {
            "type": "boolean"
        },
        "username": {
            "type": "string"
        },
        "url_private": {
            "type": "string"
        },
        "url_private_download": {
            "type": "string"
        },
        "thumb_pdf": {
            "type": "string"
        },
        "thumb_pdf_w": {
            "type": "integer"
        },
        "thumb_pdf_h": {
            "type": "integer"
        },
        "permalink": {
            "type": "string"
        },
        "permalink_public": {
            "type": "string"
        },
        "channels": {
            "type": "array",
            "items": {
                "type": "string"
            }
        },
        "groups": {
            "type": "array"
        },
        "ims": {
            "type": "array"
        },
        "comments_count": {
            "type": "integer"
        }
    }
}

Annotation 2019-11-13 105626.png

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

LC_Igor
Level: Powered On

Re: Intercom to Slack notifiction

Thanks for a hint! Yet this should do what exactly? 

I've did as instructed and conducted a test based on the previous runs, it got hanged on the "when a file is created" part and haven't got to the json part at all... 

 

In the end I got the same line as before: "On 2019-11-12T09:55:32.000Za new chat was triggered.  3441315was assigned for the chat. You can followup here:"

Community Support Team
Community Support Team

Re: Intercom to Slack notifiction

 Hi @LC_Igor,

 

Could you please share screenshots of your Flow configuration and run result?

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (4,749)