Skip to content

Latest commit

 

History

History
77 lines (53 loc) · 3.13 KB

File metadata and controls

77 lines (53 loc) · 3.13 KB
title viaSocket integration
description Learn how to connect Apify with viaSocket, configure triggers, authenticate using API tokens, and create automation flows.
sidebar_label viaSocket
sidebar_position 8
slug /integrations/viasocket

Learn how to connect Apify with viaSocket, configure triggers, authenticate using API tokens, and create automation flows.


viaSocket is a workflow automation platform that lets you connect apps and automate tasks without writing code. With the Apify integration, you can trigger Actor runs, retrieve results, and build end-to-end automation pipelines that react to events across your connected apps.

Step 1: Generate an Apify API token

  1. Log in to your Apify account.
  2. Go to Settings > API & Integrations > API Tokens.
  3. Copy your personal API token.

Apify API token settings

:::caution Keep your token secure Never share your API token publicly or commit it to version control. :::

Step 2: Create a new flow in viaSocket

  1. Log in to your viaSocket account and click Create New Flow.
  2. In the Trigger section, search for and select Apify.
  3. Choose Finished Task Run or Finished Actor Run as the trigger event.

Select Apify trigger in viaSocket Connect Apify account in viaSocket

Step 3: Connect your Apify account

  1. Click Connect to Apify.
  2. Paste your Apify API token into the connection dialog.
  3. Click Save to establish the connection.
  4. Confirm the connection is successfully added before continuing.

Configure Apify trigger in viaSocket

Step 4: Configure the trigger

  1. Provide the Actor or task ID manually or map it dynamically from a previous step.
  2. Set Status to Succeeded.
  3. Click Test to fetch sample data and verify the trigger works.
  4. Save the trigger configuration.

Add Apify trigger in viaSocket

Step 5: Add an action

You can add any supported app as the next step in your flow. The example below uses Gmail to send an email when the trigger fires.

  1. Click Add Step.
  2. Select Gmail and choose the Send Email action.
  3. Connect or select your Gmail account.
  4. Map the following fields:
    • To - recipient email address
    • Subject - email subject line
    • Message Body - use the trigger body object as dynamic input
  5. Click Test to run the action and confirm a 200 response status.

Gmail action configuration in viaSocket

Step 6: Go live and monitor

  1. Click Go Live and confirm activation.
  2. Use Flow View to inspect the flow structure and Log View to monitor individual executions.
  3. Re-run a specific execution from Run History if needed.

viaSocket flow monitoring

If you have any questions or need help, feel free to reach out on the Apify Discord community.