n8n

In this article, you will learn about using n8n to integrate Onfleet with other web apps, such as Slack, Shopify, etc., without writing any code.

You can utilize n8n to retrieve information from Onfleet tasks, trigger task creation, task updates, and task deletion. In addition, n8n offers direct access to the Onfleet API that allows you to send API requests with a visual interface. The integration on n8n is developed and supported by Onfleet.  

You can host n8n yourself on your server or utilize n8n’s cloud offering. To host n8n on your server, please follow these instructions.

This Article will cover:

Setting up a Workflow

1. Click on New workflow from the Top Left:n8n_new_workflow.png

 

2. Select new Nodes by clicking on the + button from the top right corner:Choose_Onfleet_node.gif

 

3. From here, you can enter your credentials for the selected node. In this case, the Onfleet API key:input_apikey.png

 

Now that you've set up the Onfleet node as part of your workflow, you can start using n8n for all your Onfleet API requests. Please refer to our API documentation for more detailed information about Onfleet API requests and their use cases. 

You can choose from hundreds of apps such as Slack, G-Suite, Email, Discord, etc. To select an app you would like to integrate with, press the + button again. Then, use the "Search" section to search for your preferred app or select from the drop-down list of integrations that n8n offers.

Create an Onfleet Task using the workflow 

Now that you've set up the node with your credentials, you can use it to create a task in Onfleet. Your Onfleet node can be connected to other available nodes to create a custom automation workflow. In this section, we will walk through some steps on creating a task.

1. Add a Destination:n8n_create_destination_address.png

 

2. Enter the address information, this can be from other nodes such as Shopify or other webapps of your choosing:n8n_destination.png

 

3. Add Recipient information, this is optional depending on your operation: n8n_add_recipinet.png

n8n_recipient_fields.png

 

4. After you finish entering the destination information and recipient, press Execute Node.  Congratulations, you have created a Task in Onfleet.

n8n_-_create_task_My_workflow.png

Onfleet_n8n_end_result.png