PR3 Release Note

This is an old revision of the document!


CX Genie – Fetch Customer Form Results via API

This guide helps you set up a simple API call in the CX Genie customer service system to get form results from a specific customer form. You don’t need a technical background — just follow the steps carefully!

Step 1: Create a Workflow with API Call Block

  1. Go to your workflow editor in CX Genie.
  2. Add a block called API Call to your workflow.

Step 2: Prepare the API URL

Choose the Environment

Use the correct base API URL depending on where you're working:

Get Your Form ID

To connect to the correct form, you need a Form ID. Here's how to find it:

  1. Open your form builder from the UI.
  2. Look at the address bar (URL). It will look like this:

`https://staging-app.cxgenie.ai/workspaces/{workspace-id}/form-builder/{form-id}`

The part at the end is your form ID.

Example: `b1f5393f-8387-41ea-98f6-34982a5c1bab`

Add Query Parameters

You’ll need to add two types of info to the API URL:

  • Form ID

Add it like this:

  `?form_id=b1f5393f-8387-41ea-98f6-34982a5c1bab`
  • Properties (Optional)

If you want to get specific data fields from the form (e.g., `transaction_id`, `agent_name`), add them like this:

  1. Save the block and test it.

What Happens After Success?

You’ll receive a message in the chat window if everything works.

Example result:

{
  "success": true
}

That means the API call worked and your data was fetched!

🎉 You're Done!

You’ve successfully added an API call to your workflow! The rest of your blocks will work as usual, and now you can fetch customer form results directly in your workflow.

en/payment_workflow.1755055426.txt.gz · Last modified: by pr3