Start
  • 16 Nov 2023
  • 3 Minutes to read
  • Contributors
  • Dark
    Light
  • PDF

Start

  • Dark
    Light
  • PDF

Article Summary

Overview

The Start node is the initial entry point for tasks manually created for your Process or State Diagram and the webhook endpoint for tasks sent from outside sources.

Each Process or State Diagram has only one Start node which means one designed entry point for task processing.

The Start node can have several sources from which it can receive tasks, allowing you to do the following:

  • View Mode: Add tasks manually, one at a time. Thus, you can test and debug your Process, initiate and track recursive or looped Processes, or add configuration parameters and authentication credentials to be stored in a State Diagram.
  • CSV: Store pre-existing data in a file that you can process.
  • Webhooks: Subscribe to receive tasks from either your own or third-party webhooks.
  • Copy Task: Send a copy of a task to the Start node of another Process.
  • Call Process: –°all a Process the same way you would call a function.
  • Corezoid API: –°onnect your application to the Corezoid platform. You can use the API to access data and perform any task available through the Corezoid interface.

Start node

The Start node is automatically added to your Process or State Diagram after you have created it.

Settings

The Start node has the following parameters:

  1. Title and description: Name and details of the node.
  2. Connection data:
    1. Process ID: A unique identifier that allows you to direct your tasks to the needed Process from any other Process within Corezoid; it is static data, and you cannot change it.

    2. API key: A secret key with a login to connect to an outside resource.

    3. Direct url for tasks upload: The checkbox is selected by default, which means you have to specify the generated endpoint URL value when subscribing to a webhook. Supported input formats: JSON, XML, and NVP.
      Note: If you clear the checkbox, the endpoint URL will be turned off. When you select it again, a new endpoint URL will be generated, and you will need to update your webhook subscription.

    4. Connect to messenger: Automatically configures your Process to receive messages from messengers (Telegram, Viber, Apple Business Messages, Line (partial support), and Facebook and Google Messengers).

All the Start node parameters are optional, and you can leave them as they appear by default.

Start settings1

Examples

Add tasks manually

This is the fastest and easiest way to create a new task in Corezoid.

Switch to View Mode.gif

Importing task from CSV

If you have data stored in a file that you want to turn into tasks, you can easily do so by using the Import from CSV option. Thus, you can quickly import large amounts of data and create tasks from it.

Start-CSV.gif

If your Process has required parameters, the CSV file must have columns for these parameters. Select any column as a Task reference (REF) and specify the data type for each column, such as String or Number.

Sending task to Webhook

In Corezoid, every Start node serves as an endpoint with its unique URL. This endpoint URL can be used to subscribe to webhooks, and you can receive external data and trigger your Corezoid Processes automatically.
The endpoint URL is generated and copied to your clipboard:

  • JSON

    https://www.corezoid.com/api/1/json/public/0060000/*8b568f9c430f045b0c207ff8221
    
  • XML

    https://www.corezoid.com/api/1/xml/public/0060000/*8b568f9c430f045b0c207ff8221
    
  • NVP

    https://www.corezoid.com/api/1/nvp/public/0060000/*8b568f9c430f045b0c207ff8221
    

Untitled design 2.png

The endpoint URLs generated by Corezoid are identical except for their payload format.

Sending task from another Process

In Corezoid, it's possible to send tasks from one Process to another by using the Copy Task or Call Process nodes:

  • With the Copy Task node, you can duplicate a task and send it to a different Process.
  • With the Call Process node, you can call another Process, like a function in programming.

Untitled design 3.png

Corezoid API

With the Corezoid API (asynchronous), you can easily send a task to the Start from any API source connected.

Error handling & troubleshooting

When working with your Process, you may encounter the following issues.

IssueCauseSolution
Process is not receiving tasks.Process is in the Paused mode.Switch process to Active.
Process is in the Debug mode.Switch process to Active.
The Direct URL for task upload is cleared.Select the checkbox and update webhooks with a new URL.
RPS limit has been exceeded.Check Activity Monitor.

What's Next