Skip to content

Peekalink#

Use the Peekalink node to automate work in Peekalink, and integrate Peekalink with other applications. Ensemble supports checking, and reviewing links with Peekalink.

On this page, you'll find a list of operations the Peekalink node supports and links to more resources.

Credentials

Refer to Peekalink credentials for guidance on setting up authentication.

Basic Operations#

  • Check whether preview for a given link is available
  • Return the preview for a link

Example Usage#

This Pathway allows you to check if preview for a link is available and return the link preview. This example usage Pathway uses the following nodes. - Start - Peekalink - IF - No Operation, do nothing

1. Start node#

The Start node exists by default when you create a new workflow.

This node will check whether a preview for the specified link is available.

  1. First of all, you'll have to enter credentials for the Peekalink node. You can find out how to do that here.
  2. Select 'Is available' from the Operation dropdown list.
  3. Enter a URL in the URL field.
  4. Click on Execute Node to run the node.

3. IF node#

This node will check the response from the previous node. If the previous node returned true, the IF node will also return true, otherwise the IF node will return false.

  1. Click on Add Condition and select 'Boolean'.
  2. Click on the gears icon next to the Value 1 field and click on Add Expression.
  3. Select the following in the Variable Selector section: Current Node > Input Data > JSON > isAvailable. You can also add the following expression: {{$json["isAvailable"]}}.
  4. Toggle Value 2 to true.
  5. Click on Execute Node to run the node.

This node will return the preview of the URL that you specified in the Peekalink node.

  1. Connect the node to the 'true' output of the IF node
  2. Select the credentials that you entered in the previous Peekalink node.
  3. Click on the gears icon next to the URL field and click on Add Expression.
  4. Select the following in the Variable Selector section: Nodes > Peekalink > Parameters > url. You can also add the following expression: {{$node["Peekalink"].parameter["url"]}}.
  5. Click on Execute Node to run the node.

5. NoOp node#

Adding this node here is optional, as the absence of this node won't make a difference to the functioning of the workflow. We've added this as it can sometimes help others with a better understanding of the workflow, visually.