Solved

$attributed_message campaign and flow best practices

  • 31 August 2023
  • 2 replies
  • 64 views

Badge +3

When querying metrics I use the dimension $attributed_message to determine which campaign/flow it is coming from. I get the response with the dimension id, but not the name or whether it is a campaign/flow.

Using the dimension id, I request the name against both the Get Campaign and Get Flow to see which one it works for.

Since there are hundreds of ids, it takes a while. Is there a better practice of accomplishing this?

icon

Best answer by Brian Turcotte 14 September 2023, 20:45

View original

2 replies

Userlevel 7
Badge +36

Hi @edwinv!

 

I’m going to check with our Engineering team about this and I’ll get back to the thread ASAP!

 

Best,

Brian

 

Userlevel 7
Badge +36

Hi @edwinv!

My apologies for the delay here! Have you seen our expanded guide on this endpoint?

 

Depending on your exact use case parameters, you may be able to reference this guide to create a more efficient way to accomplish this. Since this endpoint is highly customizable, there isn’t necessarily a concrete solution available without knowing the specifics of your use case.

 

Best,

Brian

Reply