Sling

The Sling modules allow you to create, update, list, and/or delete comments, conversations, day parts, groups, messages, notifications, sales, shift notes, and tasks in your Sling account.

Prerequisites

Connecting Sling to Make

1. Go to Make and open the Intercom module's Create a connection dialog.

61f27a1833ca0.gif

2. In the Connection name field, enter a name for the connection.

3. In the Email and Password fields, enter your Sling's account credentials and click Continue.

The connection has been established.

Lists all comments for the selected task.

Connection

Establish a connection to your Sling account.

Task ID

Select or map the Task ID whose details you want to update.

Limit

Set the maximum number of comments Make should return during one execution cycle.

Creates a new comment for the selected task.

Connection

Establish a connection to your Sling account.

Task ID

Select or map the Task ID for which you want to create a comment.

Content

Enter (map) the comment text.

Updates the selected comment.

Connection

Establish a connection to your Sling account.

Task ID

Select or map the Task ID whose comment you want to update.

Comment ID

Select or map the Comment ID you want to update.

Content

Enter (map) the new comment text.

Deletes the selected comment for the selected task.

Connection

Establish a connection to your Sling account.

Task ID

Select or map the Task ID whose comment you want to delete.

Comment ID

Select or map the Comment ID you want to delete.

Lists all conversations.

Connection

Establish a connection to your Sling account.

Limit

Set the maximum number of conversations Make should return during one execution cycle.

Creates a new conversation.

Connection

Establish a connection to your Sling account.

Members

Select or map the members to create the conversation. You must provide either a list of members or personas.

Personas

Select or map the members to create the conversation. You must provide either a list of members or personas.

Content

Enter (map) the conversation message.

Force

Select whether you want to force the conversation on the participants.

Name

Enter (map) a name for the conversation.

Private

Select whether the conversation is private.

Restricted

Select or map the option for the conversation:

  • None

  • Privileged Only

  • Selected Only

Restricted to Personas

Select or map the contacts whom you want to restrict from the conversation.

Attachments

Add the attachments to the conversations:

MIME Type

Enter (map) the attachment MIME type. For more information, see MIME Types.

URL

Enter (map) the attachment URL address.

Title

Enter (map) the attachment name.

S3 Key

Enter (map) the attachment key in the Amazon S3 bucket.

Image

Enter (map) the thumbnail representation of the file.

Summary

Enter (map) the details of the image.

Transcoding

Enter the attachment transcoding session details.

Lists all dayparts.

Connection

Establish a connection to your Sling account.

Limit

Set the maximum number of dayparts Make should return during one execution cycle.

Creates a new daypart.

Connection

Establish a connection to your Sling account.

Name

Enter (map) a name for the daypart.

Time Start

Enter (map) the date and time when the daypart starts. See the list of supported date and time formats.

Time End

Enter (map) the date and time when the daypart ends. See the list of supported date and time formats.

Updates the selected daypart.

Connection

Establish a connection to your Sling account.

Day Part ID

Select or map the Day Part ID whose details you want to update.

Name

Enter (map) a name for the daypart.

Time Start

Enter (map) the date and time when the daypart starts. See the list of supported date and time formats.

Time End

Enter (map) the date and time when the daypart ends. See the list of supported date and time formats.

Deletes the selected daypart.

Connection

Establish a connection to your Sling account.

Day Part ID

Select or map the Day Part ID you want to delete.

Searches for groups.

Connection

Establish a connection to your Sling account.

Group IDs

Select or map the Group IDs you want to list.

Type

Select or map the group type you want to list:

  • Everyone

  • Location

  • Group

Limit

Set the maximum number of groups Make should return during one execution cycle.

Returns information about the selected group.

Connection

Establish a connection to your Sling account.

Group IDs

Select or map the Group ID whose details you want to retrieve.

Creates a new group.

Connection

Establish a connection to your Sling account.

Name

Enter (map) a name for the group

Hidden on Schedule

Select whether you want to display the group in the schedule.

Members

Select or map the members to add to the group.

Updates the selected group.

Connection

Establish a connection to your Sling account.

Group ID

Select or map the Group ID whose details you want to update.

Name

Enter (map) a name for the group

Hidden on Schedule

Select whether you want to display the group in the schedule.

Members

Select or map the members to add to the group.

Deletes the selected group.

Connection

Establish a connection to your Sling account.

Group IDs

Select or map the Group IDs you want to delete.

Adds a user to the selected group.

Connection

Establish a connection to your Sling account.

Group ID

Select or map the Group ID to which you want to add a user.

User ID

Select or map the User ID whom you want to add to the group.

Removes the user from the selected group.

Connection

Establish a connection to your Sling account.

Group ID

Select or map the Group ID from which you want to remove a user.

User ID

Select or map the User ID whom you want to remove from the group.

Lists all messages for the selected conversation.

Connection

Establish a connection to your Sling account.

Conversation ID

Select or map the Conversation ID whose messages you want to list.

Since

Enter (map) the date and time to list the messages that were created on or after the specified time. See the list of supported date and time formats.

Before

Enter (map) the date and time to list the messages that were created on or before the specified time. See the list of supported date and time formats.

Include

Select whether you want to include the messages with the ID provided for before and since.

Limit

Set the maximum number of messages Make should return during one execution cycle.

Creates a new message.

Connection

Establish a connection to your Sling account.

Conversation ID

Select or map the Conversation ID to which you want to add the message.

Content

Enter (map) the message text.

Attachments

Add the attachments:

MIME Type

Select or map the MIME-type for the attachment.

URL

Enter (map) the URL address of the attachment.

Title

Enter (map) the attachment name.

S3 Key

Enter (map) the attachment key in the Amazon S3 bucket.

Image

Enter (map) the thumbnail representation of the file.

Summary

Enter (map) the details of the image.

Transcoding

Enter the attachment transcoding session details.

Updates the selected message.

Connection

Establish a connection to your Sling account.

Conversation ID

Select or map the Conversation ID whose message details you want to update.

Message ID

Select or map the Message ID you want to update.

Parent Message ID

Select or map the Parent Message ID for this message.

Content

Enter (map) the message text.

Attachments

Add the attachments:

MIME Type

Select or map the MIME-type for the attachment.

URL

Enter (map) the URL address of the attachment.

Title

Enter (map) the attachment name.

S3 Key

Enter (map) the attachment key in the Amazon S3 bucket.

Image

Enter (map) the thumbnail representation of the file.

Summary

Enter (map) the details of the image.

Transcoding

Enter the attachment transcoding session details.

Deletes the selected message.

Connection

Establish a connection to your Sling account.

Conversation ID

Select or map the Conversation ID to which you want to add the message.

Message ID

Enter (map) the Message ID you want to delete.

Lists all notifications.

Connection

Establish a connection to your Sling account.

Since

Enter (map) the date and time to list the notifications that were created on or after the specified time. See the list of supported date and time formats.

Before

Enter (map) the date and time to list the notifications that were created on or before the specified time. See the list of supported date and time formats.

Archived

Select whether you want to list the archived notifications.

Read

Select whether you want to list the notifications that were read.

Limit

Set the maximum number of notifications Make should return during one execution cycle.

Returns information about the sale.

Connection

Establish a connection to your Sling account.

Sale ID

Enter (map) the Sale ID whose details you want to retrieve.

Creates a new sale.

Connection

Establish a connection to your Sling account.

Type

Select or map the option to choose the date on which the sale happened:

  • Projected Date

  • Projected Day

  • Actual Date

Date

Enter (map) the projected sale date or actual sale date. See the list of supported date and time formats.

Weekday

Enter (map) the project weekday of the sale.

Amount

Enter (map) the amount received or will be generated from the sale.

Location ID

Select or map the Location ID of the sale.

Updates the sale.

Connection

Establish a connection to your Sling account.

Sale ID

Enter (map) the Sale ID whose details you want to update.

Type

Select or map the option to choose the date on which the sale happened:

  • Projected Date

  • Projected Day

  • Actual Date

Date

Enter (map) the projected sale date or actual sale date. See the list of supported date and time formats.

Weekday

Enter (map) the project weekday of the sale. For example, 1.

Amount

Enter (map) the amount received or will be generated from the sale.

Location ID

Select or map the Location ID of the sale.

Deletes the sale.

Connection

Establish a connection to your Sling account.

Sale ID

Enter (map) the Sale ID you want to delete.

Lists all shift notes.

Connection

Establish a connection to your Sling account.

Start Date

Enter (map) the date to list the shift notes added on or after the specified date. See the list of supported date and time formats.

End Date

Enter (map) the date to list the shift notes added on or before the specified date. See the list of supported date and time formats.

Location ID

Select or map the Location ID whose shift notes you want to list.

Limit

Set the maximum number of shift notes Make should return during one execution cycle.

Returns information about the selected shift note.

Connection

Establish a connection to your Sling account.

Shift Note ID

Select or map the Shift Note ID whose details you want to retrieve.

Creates a new shift note.

Connection

Establish a connection to your Sling account.

Content

Enter (map) the note text.

Date

Enter (map) the date on which you are creating the note. See the list of supported date and time formats.

Public

Select whether you want the note to be publicly visible.

Location ID

Select or map the Location ID of the note.

Updates the selected shift note.

Connection

Establish a connection to your Sling account.

Shift Note ID

Select or map the Shift Note ID whose details you want to update.

Content

Enter (map) the note text.

Date

Enter (map) the date on which you are creating the note. See the list of supported date and time formats.

Public

Select whether you want the note to be publicly visible.

Location ID

Select or map the Location ID of the note.

Deletes the selected shift note.

Connection

Establish a connection to your Sling account.

Shift Note ID

Select or map the Shift Note ID you want to delete.

Searches for tasks.

Connection

Establish a connection to your Sling account.

Filter

Select or map the filter to list the tasks that match the specified filter:

  • Assigned

  • Created

  • Updated

Since

Select or map the option to list the tasks that were created from the specified option.

Before

Select or map the option to list the tasks that were created until the specified option.

Limit

Set the maximum number of tasks Make should return during one execution cycle.

Returns information about the selected task.

Connection

Establish a connection to your Sling account.

Task ID

Select or map the Task ID whose details you want to retrieve.

Creates a new task.

Connection

Establish a connection to your Sling account.

Title

Enter (map) a name for the task.

Summary

Enter (map) the task details.

Personas

Add the personas to whom the task is assigned.

Due Date

Enter (map) a date by which the task should be completed. See the list of supported date and time formats.

Completed

Select whether the task is completed.

Expand

Select whether you want to expand the task details in the output.

Has Time

Select whether the task has time mentioned along with the due date.

Attachments

Add the attachments to the task:

MIME Type

Select or map the MIME-type for the attachment.

URL

Enter (map) the URL address of the attachment.

Title

Enter (map) the attachment name.

S3 Key

Enter (map) the attachment key in the Amazon S3 bucket.

Image

Enter (map) the thumbnail representation of the file.

Summary

Enter (map) the details of the image.

Transcoding

Enter the attachment transcoding session details.

Updates the selected task.

Connection

Establish a connection to your Sling account.

Title

Enter (map) a name for the task.

Summary

Enter (map) the task details.

Personas

Add the personas to whom the task is assigned.

Due Date

Enter (map) a date by which the task should be completed. See the list of supported date and time formats.

Completed

Select whether the task is completed.

Expand

Select whether you want to expand the task details in the output.

Has Time

Select whether the task has time mentioned along with the due date.

Attachments

Add the attachments to the task:

MIME Type

Select or map the MIME-type for the attachment.

URL

Enter (map) the URL address of the attachment.

Title

Enter (map) the attachment name.

S3 Key

Enter (map) the attachment key in the Amazon S3 bucket.

Image

Enter (map) the thumbnail representation of the file.

Summary

Enter (map) the details of the image.

Transcoding

Enter the attachment transcoding session details.

Deletes the selected task.

Connection

Establish a connection to your Sling account.

Task ID

Select or map the Task ID you want to delete.

Performs an arbitrary authorized API call.

Connection

Establish a connection to your Sling account.

URL

Enter a path relative to https://api.sling.chat For example: /v1/account/session

For the list of available endpoints, refer to the Sling API Documentation.

Method

Select the HTTP method you want to use:

GET to retrieve information for an entry.

POST to create a new entry.

PUT to update/replace an existing entry.

PATCH to make a partial entry update.

DELETE to delete an entry.

Headers

Enter the desired request headers. You don't have to add authorization headers; we already did that for you.

Query String

Enter the request query string.

Body

Enter the body content for your API call.

The following API call returns all the personas from your Sling account:

URL:/v1/personas

Method:GET

61f27a1aa6834.png

Matches of the search can be found in the module's Output under Bundle > Body. In our example, 7 personas were returned:

61f27a1bdd9ce.png