Connectors Reference

Flic

The Flic connector allows a workflow to be triggered by the press of a Flic button or Flic task, in combination with the Flic Android or iOS app.

 

Status: Preview

Tier: Standard

Version: 1.0

 

Actions:

Name

Summary

DeleteTrigger (string user_uuid, string hook_Id)

Delete a webhook

ButtonList ()

Get Flic list

TaskList ()

Get Task list

 

Triggers:

Name

Summary

FlicButtonTrigger (string button_uuid, WebhookRequestBodyFlic Request body of webhook)

When a Flic is pressed

FlicTaskTrigger (string task_uuid, WebhookRequestBodyTask Request body of webhook)

When a Task is executed

 

Objects:

Name

Summary

GetFlicsResponse

 

GetTasksResponse

 

WebhookRequestBodyFlic

 

WebhookRequestBodyTask

 

 

Actions:

DeleteTrigger

Summary: Delete a webhook

Description: Deletes a webhook

 

Syntax:

Flic.DeleteTrigger (string user_uuid, string hook_Id)

 

Parameters:

Name

Type

Summary

Required

Related Action

user_uuid

string

 

User UUID

True

hook_Id

string

 

ID of hook

True

 

Returns:

 

ButtonList

Summary: Get Flic list

Description: Gets Flic list

 

Syntax:

Flic.ButtonList ()

 

Returns:

          Type:GetFlicsResponse

 

TaskList

Summary: Get Task list

Description: Gets Task list

 

Syntax:

Flic.TaskList ()

 

Returns:

          Type:GetTasksResponse

 

Triggers:

Trigger FlicButtonTrigger

Summary: When a Flic is pressed

Description: Triggers a workflow when the configured Flic is pressed.

 

Syntax:

Flic.FlicButtonTrigger (string button_uuid, WebhookRequestBodyFlic Request body of webhook)

 

Parameters:

Name

Type

Summary

Required

Related Action

button_uuid

string

(Flic button)

The Flic that will trigger the workflow.

True

ButtonList

Request body of webhook

WebhookRequestBodyFlic

 

 

True

 

Returns:

 

Trigger FlicTaskTrigger

Summary: When a Task is executed

Description: Triggers a workflow when the configured Task is executed.

 

Syntax:

Flic.FlicTaskTrigger (string task_uuid, WebhookRequestBodyTask Request body of webhook)

 

Parameters:

Name

Type

Summary

Required

Related Action

task_uuid

string

(Task)

The Task that will trigger the workflow.

True

TaskList

Request body of webhook

WebhookRequestBodyTask

 

 

True

 

Returns:

 


 

GetFlicsResponse

Summary:

Description:

 

          Properties:

Name

Type

Summary

buttons

array of (ButtonsItem)

 

 

 

ButtonsItem

Summary:

Description:

 

          Properties:

Name

Type

Summary

name

string

 

Name of Flic

button_uuid

string

 

Button UUID

 


 

GetTasksResponse

Summary:

Description:

 

          Properties:

Name

Type

Summary

tasks

array of (TasksItem)

 

 

 

TasksItem

Summary:

Description:

 

          Properties:

Name

Type

Summary

name

string

 

Name of Task

task_uuid

string

 

Task UUID

 


 

WebhookRequestBodyFlic

Summary:

Description:

 

          Properties:

Name

Type

Summary

url

string

Url

Url

events

string

Events

Events to listen to  Values: [click, double click, hold, any]


 

WebhookRequestBodyTask

Summary:

Description:

 

          Properties:

Name

Type

Summary

url

string

Url

Url