📦 MiniFlow: Sample Wrapper for Async Services (CloudConvert, AI, etc.)

If you are using the Make HTTP Call with Callback action to connect to services like CloudConvert, DeepAI, or Replicate, you might hit a small roadblock:

  • Zenphi sends the secure Callback URL in the Header.

  • The Service expects that URL in the JSON Body.

To bridge this gap, we have created a ready-to-use Wrapper Flow. You don't need to build the logic yourself—just import this MiniFlow, and it handles the translation for you.


⚙️ How to Use This MiniFlow

Step 1: Import the Wrapper

Download the attached .json file and import it into your workspace.

You will see a flow named "Async Service Wrapper."

Step 2: Configure the Service Call (Wrapper Flow)

Open the Wrapper Flow. You will see an action group labeled "Setup (Do Not Touch)." This section automatically extracts the secure URL and prepares your data.

  1. Scroll to the bottom of the flow.

  2. Add a Make HTTP Call action (standard).

  3. Configure it to call your target service (e.g., CloudConvert API URL).

  4. The Magic Step: For the Request Body, simply select the Result Token from the action named Setup (Http body).

    • Why? This token already contains your full JSON payload with the secure Callback URL perfectly injected. You do not need to type any JSON here!

Step 3: Call it from your Main Flow (The Caller)

Now, go to your primary automation flow where you want to trigger the process.

  1. Add the Make HTTP Call with Callback action.

  2. Set the URL to the Trigger URL of the Wrapper Flow.

  3. The Important Part: In the Request Body, paste the exact JSON required by the external service (e.g., the CloudConvert task list).

  4. Wherever the service expects the webhook link, type exactly: [Callback URL].

Example Body (Main Flow):

{
  "tasks": {
      "import-file": { ... },
      "convert": { ... }
  },
  "webhook": "[Callback URL]"
}

🚀 The Result

  1. Your Main Flow sends the template JSON (with the placeholder) to the Wrapper.

  2. The Wrapper automatically replaces [Callback URL] with the real, secure link.

  3. The Wrapper sends the final, valid JSON to the Service.

  4. The Service processes the job and calls back directly to your Main Flow.

  5. Your Main Flow resumes immediately!



Async Wrapper Template_1764944963755.json