# 2. Catch and Map Response From Maax

{% embed url="<https://www.loom.com/share/de207c024e634d7f98bc84c8963d2ac3?sid=9999836c-0b9e-42d9-8ab5-c3d238905ef2>" %}

## Summary

1. **`Catch Response Step`** This step is crucial in the app creation process. It involves receiving a response from Maax AI after a message is sent.
2. **`Structure of the Response`** The structure of the catch response might look complicated but is actually simpler. It starts with the 'catch our webhooks by Zapier' step.
3. **`Receiving and Using the Webhook URL`** In this step, you receive a webhook URL. This URL is then mapped inside an earlier step in the process, specifically in the 'ingest step'.
4. **`Integration with the Ingest Step`** The 'send\_response URL' field in the ingest step is where you paste the webhook URL. This action directs Maax AI to send responses to that endpoint.
5. **`Testing the Setup`** After setting up, you can send a test. If the setup is correct, you should see a response run through the webhook.
6. **`Lead Management and SMS Creation`** Following the catch response, the process involves finding a lead and ensuring they meet the desired profile or attributes. Subsequently, an SMS or relevant response is created in the 'create message' step.
7. **`Mapping the Webhook Response`** The webhook response from Maax AI is mapped into the create message step, which then sends a message generated by Maax AI.
8. **`Simplification and Focus`** The process, while appearing complex due to additional details, essentially involves catching the webhook, identifying the right leads, and sending them the Maax AI-generated message. The emphasis is on the simplicity and directness of these steps.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.maax.ai/main/setup-your-integration/v2-sales-ai-zapier/2.-catch-and-map-response-from-maax.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
