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.
2. Peekalink node (create: room)#
This node will check whether a preview for the specified link is available.
- First of all, you'll have to enter credentials for the Peekalink node. You can find out how to do that here.
- Select 'Is available' from the Operation dropdown list.
- Enter a URL in the URL field.
- 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
.
- Click on Add Condition and select 'Boolean'.
- Click on the gears icon next to the Value 1 field and click on Add Expression.
- Select the following in the Variable Selector section: Current Node > Input Data > JSON > isAvailable. You can also add the following expression:
{{$json["isAvailable"]}}
. - Toggle Value 2 to
true
. - Click on Execute Node to run the node.
4. Peekalink node (preview)#
This node will return the preview of the URL that you specified in the Peekalink node.
- Connect the node to the 'true' output of the IF node
- Select the credentials that you entered in the previous Peekalink node.
- Click on the gears icon next to the URL field and click on Add Expression.
- Select the following in the Variable Selector section: Nodes > Peekalink > Parameters > url. You can also add the following expression:
{{$node["Peekalink"].parameter["url"]}}
. - 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.