HTTP Request Action

HTTP Request actions are a powerful feature of Arigato Automation that can connect your Shopify store to external APIs, webhooks or other online services. This article will guide you through the process of integrating an HTTP Request action in your workflow, expanding your automation possibilities.

Create or Edit a Workflow

Before using an HTTP Request action, you must either create a new workflow or edit an existing one. Depending on your needs, you can choose from Event Workflows, On-Demand Workflows, Bulk Operation Workflows, or Scheduled Workflows.

Add an HTTP Request Action

Once you're in the Workflow edit screen:
1. Scroll down to the Actions section and click the "+ Action" button.
2. In the list of available actions, locate and click on the "HTTP Request (Custom)" action. This will add the action to the workflow and open its configuration panel.

Configure the HTTP Request Action

In the HTTP Request action configuration panel, you can customize different settings as follows:
Method: Choose the HTTP method (GET, POST, PUT, or DELETE) according to your API or external service requirements.
URL: Enter the URL endpoint to which you want the request to be sent. Make sure to include "http://" or "https://".
Headers (optional): Add custom headers as required by the API or external service. These headers typically include "Content-Type" and "Authorization".
Payload (optional): Enter the payload in JSON format if needed, especially when using POST or PUT methods.
Note that the Arigato Automation app supports the use of variables, which allows you to insert dynamic data such as product information, customer details, or any other property available from your Shopify store. To add variables, click on the Token Browser icon and select the desired variable.

HTTP Response Subworkflows

If you'd like to process the response from the request, open the dropdown "What would you like to do with the response?" and select "Run response through a workflow". For detailed information about HTTP Response Subworkflows, check the article "Handling HTTP Resonses" in the Related Articles section at the bottom of this page.

Test the HTTP Request Action

With a test object selected in the Testing section, you'll be able to test the HTTP Request action to ensure it is functioning as expected. Click the green "Send HTTP Request Now" button in the action's configuration panel to initiate the test. Remember that this will actually send the request to your endpoint, so ensure your test setup won't cause any unintended consequences. The test result will be shown within the action's configuration panel.
After your workflow has been triggered and executed, you can check the corresponding logs to see results and diagnose any issues. To view the logs, navigate to the top of the Workflow edit screen and click on the "Logs" tab.

Conclusion

With the HTTP Request action successfully added to your Arigato Automation workflow, you've now unlocked more advanced automation opportunities by connecting your Shopify store to external APIs, webhooks, or online services. Utilize this powerful action to expand your automation capabilities and streamline your processes.