Custom code to fetch Sequence name based on sequence id
SOLVE
Hi,
I want to fetch the name of the sequence, based on the contact property "Last sequence enrolled" (which is an ID) and save it into a custom contact field (that I called "Last sequence enrolled name"). I created a private app and tried a custom code into a workflow. I always have an error message: "Request failed with status code 404" but I can't fix it. If someone could help, it would be great.
await axios.post(urlUpdate, payload, { headers }); console.log(`The property "last_sequence_enrolled_name" was updated on this ${CONTACT_ID} with this value : ${sequenceName}`); } catch (error) { console.error(`Update error : ${error.message}`); } }
I believe you are getting that 404 as the endpoint doesn't currently exist as part of HubSpots APIs. Did you find that endpoint documented somewhere online and if so can you share documentation?
I believe you are getting that 404 as the endpoint doesn't currently exist as part of HubSpots APIs. Did you find that endpoint documented somewhere online and if so can you share documentation?