Hi Make Community,
I’m trying to add a new tag to my database in ActiveCampaign when a lead submit a form, so I created this scenario.
But I have an error with my last module.
Here is my set up. Can you help me to fix it please ? I don’t understand the error.
Thanks in advance,
Clément
Hi @Clement_Herve,
Common mistake; check the help text below the URL field in the Make an API Call module. You only need to pass the path, not the full URL. This explains the URL in the error message you received.
Also, the endpoint you try to reach seems incorrect. You can use the urls here: https://developers.activecampaign.com/reference/create-contact-tag (so only “/contactTags” then)
Cheers,
Henk
Thank you very much @Henk-Operative !
It seems to be better but I still have a RuntimeError, link to the tag.
Here’s my module configuration
Can you help me to fix it please ?
Thanks a lot,
Clément
You are getting in the right direction, but you are not sending the payload as it should. What you did now, is adding headers instead of a payload.
You can remove the headers, and copy the example from the ActiveCampaign documentation. It should look like this:
Cheers,
Henk
Thanks a lot @Henk-Operative !
We’re almost finished.
Here’s my module’s configuration :
Here’s the result :
But I can’t find the Tag “20” on ActiveCampaign
Do you have an idea where I’m making a mistake ?
Thanks,
Clément
Well, each tag has it’s own ID. So you want to pass the ID that corresponds with the tag that you are trying to add to the customer. The 20 is just an example (unless the tag you want to add is ID 20). You can retrieve all tags, create them, update them or delete them via the tags endpoints. For example, use this endpoint to list all tags (and their ID): List all tags
You are almost done
Cheers,
Henk
By the way, why are you not using these modules?
All right, I understand ! Thank you very much @Henk-Operative !
I received an error because I’m trying to create a new tag and not using an existing one.
Do you know if I can create my own tag for each automation ? Indeed, I want to have a tag for each prospect "utm-dateoftheday) to know for each prospect which funnels they visit and the time of the visit, to better understand the user path.
Example :
Tag 1 = Facebook - 09012025
Tag 2 = Website - 10012025
etc.
That’s why I’m not using the “Add a Tag” module, I have no tag to refer.
In that case, you can use the tags endpoints to create the tag first. In the response, receive the ID of the created tag, which you can use to assign the tag to the contact.
Cheers,
Henk
2 Likes
Ok perfect ! Thanks you so much @Henk-Operative
1 Like