Integrate Appmax
Create the Appmax integration in Clickmax, copy the generated URL and register it as a webhook in the Appmax panel. Every event with an email creates or updates a contact tagged appmax, and approved orders become sales in Clickmax.
Before you start
- Workspace role: Owner, Admin, Editor or Collaborator. The Finance, Guest and Agent roles have no access to Integrations.
- Access to the Appmax panel of the store that sells the products. Appmax asks for no token or API key for this integration: the security is in the URL itself.
Step by step
- In Clickmax, open Integrations and select the Appmax card.
- Fill in the Integration nickname and click Create integration.
- Copy the URL shown. It ends with a security token; copy the whole URL.
- In another tab, sign in to the Appmax panel and open the Webhooks screen. Create a new webhook or edit an existing one.
- In Loja, choose the store that sells the products and paste the URL in the URL para Envio field.
- Click Editar Eventos and select the events you want to receive under Pedido, Cliente, Pagamento Não Autorizado and Assinatura.
- In Modelo do Conteúdo (JSON), keep Modelo Padrão (Recomendado). The other models change the data format and Clickmax can no longer read the events.
- Leave the webhook enabled and click Salvar.
- Go back to Clickmax and click Finish integration.
Have more than one store on Appmax? Register the same URL in a webhook for each store.
To check the connection, use Testar Eventos on the Appmax webhook. Test events carry fictitious data and create test contacts in your workspace.
What starts arriving
Every event with an email creates or updates a contact tagged appmax. Approved orders mark the contact as a customer and record the sale.
Cliente Criado only creates or updates the contact, with name and phone, and has no trigger of its own.
Appmax sends several events for the same payment: Pedido autorizado, Pedido pago, Pix Pago and Pedido integrado arrive together with Pedido aprovado. Clickmax uses only Pedido aprovado, so the automation runs once per order. You can leave the others selected in Appmax; they are ignored.
The charge of each subscription cycle also arrives as a Pedido aprovado, which records the sale for that cycle.
Cliente interessado is the notice Appmax sends when a buyer fills in their details at checkout and doesn't buy within 60 minutes. In Clickmax it becomes the Checkout abandoned trigger and counts in sales recovery.
Orders with more than one product
An order with several products creates one sale in Clickmax, with the order total (shipping and interest included). The contact history gets one activity per product, with that item's value.
Filter by product
You can pick a product in the Appmax triggers. Clickmax identifies the product by the SKU registered in Appmax, not by its name. So:
- Register a SKU on every Appmax product you want to use in automations. A product without a SKU can't be filtered; a trigger without a filter still fires for it.
- Products show up in the trigger list as Appmax events arrive. To use a product that hasn't sold yet, add it manually with the SKU exactly as it is in Appmax.
- Renaming the product in Appmax doesn't break the filter. Changing the SKU does: pick the product again in the trigger.
The trigger fires if the filtered product is in the order, even when it isn't the main product.
Related
- All integrations
- Create your first automation — react to Appmax orders
- Integrate Yever and Integrate Hotmart
If it didn't work
- No events arrive: check that the URL pasted in Appmax is the whole URL, with the token at the end, and that the webhook is enabled. Also check that the store chosen in the webhook is the one selling the products.
- Events arrive but nothing happens: check that Modelo do Conteúdo (JSON) is set to Modelo Padrão (Recomendado).
- A specific event doesn't arrive: check that it is selected in Editar Eventos. Events without the customer's email are discarded, because Clickmax can't identify the contact.
- The product-filtered automation doesn't fire: check that the product has a SKU in Appmax and that the SKU didn't change after you built the trigger.
- The declined-payment automation runs twice: Appmax has two decline events, Pagamento não autorizado and Pagamento não autorizado com atraso (60min). Select only one of them in the webhook.