| 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.
- Log in to your Apify account.
- Go to Settings > API & Integrations > API Tokens.
- Copy your personal API token.
:::caution Keep your token secure Never share your API token publicly or commit it to version control. :::
- Log in to your viaSocket account and click Create New Flow.
- In the Trigger section, search for and select Apify.
- Choose Finished Task Run or Finished Actor Run as the trigger event.
- Click Connect to Apify.
- Paste your Apify API token into the connection dialog.
- Click Save to establish the connection.
- Confirm the connection is successfully added before continuing.
- Provide the Actor or task ID manually or map it dynamically from a previous step.
- Set Status to
Succeeded. - Click Test to fetch sample data and verify the trigger works.
- Save the trigger configuration.
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.
- Click Add Step.
- Select Gmail and choose the Send Email action.
- Connect or select your Gmail account.
- Map the following fields:
- To - recipient email address
- Subject - email subject line
- Message Body - use the trigger
bodyobject as dynamic input
- Click Test to run the action and confirm a
200response status.
- Click Go Live and confirm activation.
- Use Flow View to inspect the flow structure and Log View to monitor individual executions.
- Re-run a specific execution from Run History if needed.
If you have any questions or need help, feel free to reach out on the Apify Discord community.






