Skip to main content

#Sales Cadences0 人がディスカッション中

Hi Everyone,

I am trying to implement WhatsApp messaging through Salesforce Sales Engagement Cadences using WATI API integration, but I am facing issues with Cadence Step Flow execution and variable passing.

Current Architecture:

Contact Record Triggered Flow

→ Add Contact to Cadence

→ Cadence Step Flow

→ Apex Invocable Action

→ Queueable Apex

→ WATI API Callout

My goal:

When a contact reaches a cadence step, I want to automatically send a WhatsApp template message through WATI.

What I have implemented:

  1. Cadence Step Flow
  2. Apex Invocable Method
  3. Queueable Apex with Database.AllowsCallouts
  4. Named Credential for WATI
  5. Formula payload generation in Flow

Current Flow Payload:

959585****|||abd|||{"name":"Rakesh"}

Invocable Apex:

public with sharing class WatiWhatsAppService {

public class Request { @InvocableVariable(required=true) public String rawInput; } @InvocableMethod( label='Send WATI WhatsApp Message' description='Cadence-compatible WhatsApp action.' ) public static void sendWA(List<Request> requests) { List<String> rawInputs = new List<String>(); for(Request req : requests){ if(String.isNotBlank(req.rawInput)){ rawInputs.add(req.rawInput); } } System.enqueueJob(new WatiQueueable(rawInputs)); } 

}

Issue:

  • Cadence Step Flow is not executing automatically
  • Sometimes the flow step does not launch from cadence
  • Input variables like MobilePhone and FirstName were initially blank
  • I fixed variable mapping using input variables
  • Formula payload is now generating correctly
  • Apex action now appears in flow correctly
  • However, cadence screen flow execution itself is inconsistent

Questions:

  1. Does Cadence Step Flow require manual user interaction from Work Queue to execute?
  2. Is Cadence Step Flow suitable for backend API automation like WhatsApp sending?
  3. Has anyone successfully implemented automatic WhatsApp sending from Sales Cadence?
  4. Would Record Triggered Flow + Apex be a better architecture than Cadence Step Flow?
  5. Are there limitations with Invocable Apex inside Cadence Step Flow?

Any guidance or recommended architecture would be very helpful.

Thanks! 

#Salesforce Developer #Apex #Sales Cadences #Flow

3 件のコメント
0/9000

Our company needs to send out emails from our org. We are currently getting the High Velocity Sales to work and checking out its features. Was wondering if it possible to send out emails as replies from sales cadences or a new email will always be created?

 

@* Sales Cloud - Best Practices * @* Sales Cloud - Getting Started * 

1 件のコメント
  1. Lakhan Meghani (Cube84) Forum Ambassador
    3月10日 9:34

    It will always used to send out new emails. It is not possible to send out the reply replies on the thread in Sales Engagement. 

     

    I have recorded the series here on my channel. Maybe this will help you- 

    https://www.youtube.com/watch?v=yS6D1NGHdes&list=PLkZbNAVdlGJBmoIkDM3OY876S51JJ6JYM

0/9000

There is the ability to report on Cadences with Monthly metrics (seen below), but the business folks at the org I'm supporting want to see Daily or Weekly cadence metrics. Is this possible? I haven't seen a way to accomplish this via custom Report Types.

 

Also, is this a normal/reasonable request? I don't see anyone else questioning these missing metric intervals in the community at all which leads me to believe that standard sales orgs are fine with monthly cadence reporting without getting more granular. Daily/Weekly reporting all seems to be done at the User/Rep level.

 

#SalesEngagement #Sales Cadences #HVS Sales Cadences #Reporting

 

Cadence Reporting: Is there a way to report on Cadence Daily or Weekly Metrics?

3 件の回答
0/9000

In case you have not found this yet...I was unable to edit saved cadences today that were created with Builder 2.0 and Support shared this with me:  Cadences formed with version 2.0 builder unable to be edited

 

#HVS Sales Cadences  #Sales Cadences  #SalesEngagement  #High Velocity Sales

5 件のコメント
  1. 2024年6月4日 15:19

    @shilpa vishwanath  Yes...from the link, you can see the status is Solution Deployed.  Working as expected.

0/9000

Our company recently added Salesforce Sales Engagement. As we've been working with it, we've discovered Action Buttons called "Add to Cadence" and "Remove from Cadence" that can be added to the Contacts and Leads tabs.   I adjusted the formatting in the page layouts to display the buttons, but we've run into a problem.

 

The "Add" and "Remove" cadence buttons appear in list views of the Leads and Contacts. On individual Leads or Contacts, the "Add" button is visible, but not the "Remove" button.

 

Our staff who use Sales Engagement are able to add and remove prospects from the cadences and can see the buttons when they're in Sales Engagement.   

 

As I've been looking into this, I found some documentation that said there was a version of Sales Engagement for certain variations of Salesforce, but not for all.  We use Enterprise Edition, which required the purchased add-on of Sales Engagement. 

 

Question about the cadence buttons - on regular Leads and Contacts, are they there for the other versions of Salesforce, but won't work with Enterprise Edition?

 

Is there any other reason the buttons won't appear when I add them to the tabs?

 

Thanks.

 

#Sales Cadences  

1 件の回答
  1. Zack Terry (Fast Slow Motion) Forum Ambassador
    2024年2月28日 15:27

    Hi @Rob Esmond

     

    I'm not aware of a limitation that would prevent this button from appearing based on having Enterprise Edition. Here are a few things to check: 

     

    • Make sure that any users who need to be adding or removing prospects to/from a cadence have been assigned Sales Engagement permissions
    • For the Contact and Lead record pages, check if Dynamic Actions are enabled and if so, ensure the actions have been added there vs. the page layout
0/9000

We have just started to use Sales Engagement and are using a sales cadence. We want to be able to jump to a specific step in the cadence if the email bounces rather than just exiting the cadence. I can't find a way to do this, it looks like the only option is to exit the cadence. Is this possible?

A lot of the documentation I am finding on cadences seems to be outdated.

 

@* Salesforce Sales Engagement *

2 件の回答
  1. 2023年11月23日 20:54

    Hi Elizabeth not sure if you’ve come to a resolution on this. Main advice is to split your cadences up so yeah step is a cadence, and have them daisy chained together. That way you can add targets in at specific steps if necessary.

    The adding to a new cadence is tricky, record triggered flows don’t work with cadences. My recommendation is to build a scheduled flow that runs daily. That gets all cadence trackers that have exited that day where Disposition = Automatically Exited and reason = Bad Data.

    Then have an action to add targets to new cadences. Hope that helps

0/9000

I'm in the process of configuring Cadences as the first step in rolling out using Sales Engagement. Two of the five steps in the Cadence involve sending an email to a prospective customer. We need to be able to attach a pdf to the email, which pdf that is attached to the email will vary. The emails will be manual sends not automated sends. At this point we are only using Cadences on Leads; Opportunities will be next.

 

We currently are not integrated with Outlook, setting up Inbox is on the roadmap, likely that will happen early in 2024.

 

My questions:

  1. Can a user add an attachment to an email that is part of a Cadence step?
  2. Can a user edit the email template that is part of a Cadence step? Not change which template that is used but add a sentence or two in order to customize it.

TIA,

Gwenn

 

#HVS Sales Cadences #Sales Cadences #Salesforce Admin #Email

1 件の回答
  1. 2023年11月13日 3:36

    1. Yes, users can add attachments from composer when they are manually sending emails from their cadence task

    2. Yes

0/9000

We are new to Sales Engagement and cadences. We were hoping to be able to create a Task report that would show all the tasks related to a cadence so we could see the status of the task, the due date, completed date, cadence name, and cadence step title. We tried a Task & Event activity report but the cadence name and cadence step title fields are all blank. Is there something we need to do so these fields get populated for reporting purposes? I can't find anything within Cadence builder to accomplish this.

#Sales Cadences #HVS Sales Cadences #Reports 

2 件の回答
0/9000

Question about the Sales Cadences, we have a branch on our calls, and if the result is Left Voicemail, the Sales Cadence continues, if not, it ends.  Well if a user just marks a step complete, and doesn't actually make the call, the Sales Cadence ends.  Is there a way to enter a blank value to add to the Left Voicemail mapping so it continues in the sales cadence, or make it so when clicking the complete button on the step, it continues down the sales cadence?

0/9000

Hello everyone! I'm checking the High Velocity Sales features and I notice you can build Sales Cadences with Wait steps delaying the next action from 1 to 60 days. Does that counts on Number of Paused and Waiting Flow interviews org's limit? Have a lovely weekend :-) !

0/9000