Skip to main content

#Developer Edition Org25 discussing

I am testing my first attempt at agentforce/AI in a developer org and am looking to build a "chat summary" feature which summarises an ongoing enhanced chat/messaging session into a field on the messaging session record.  This summary is done at the point of transfer between either Bot->Agent or Agent-> agent (will save the agent time reading through the whole transcript when receiving chats) 

 

(I do undertand this feature is available via a paid add-on..... but this is a simple POC I am trying out to test the viability) 

 

Currently - I am triggering the whole piece via a record triggered flow which runs at the point a Messaging Session changes ownership.  At this time, my flow does the following: 

 1) Use the current MessagingSession ID to get the messaging session record 

2) Call a piece of apex code which gathers all conversation items relating to the messaging session, orders them from old to new, then outputs them as a single piece of text. 

3) Use this single piece of text as an input to Prompt Builder.  Ask the agent to summarise the text in a concise manner as to what has been spoken about so far in the conversation and offer the human agent suggested follow up questions.  Output this summary as another piece of long text 

4) Back in the flow, assign the output from the prompt builder to a field on the Messaging Session then update the messaging session 

 

The whole flow runs successfully, and when I manually debug the flow by entering a messaging session ID as a debug input, it works like a dream.  The conversation in the messaging session is summarized exactly as I would expect. 

 

However - when I run this "real time" - the flow runs successfully and I can see (by running a debug log) that the input to the prompt builder is exactly as I expect (ie a long text field of the whole conversation to date).  However, at this point, the output from the prompt builder seems to return a complete hallucination - providing an output which is a summary or something, but has no relationship at all to my inputs.  It consistently mentions fields like <ORDER_NO> and <CUSTOMER_ID> - even though these are items for which I have never referenced in any of my inputs, and which do not exist in my prompt builder prompt. 

It is like it is summarising messaging sessions from another org!? The thing is, I have also made an output to stick the current Messaging Session ID onto the messaging session after the output, so I know it is using this correct ID to lookup the converation.  

 

My Question:

 

Is there any way for me to "see" what is happening inside prompt builder during a real-time run. Because when I do this using the debug in the prompt builder UI - it works perfectly!  The issue seems to only happen during "production" end-to-end runs.

 

 

Example Input:

Custom AI conversation summary of enhanced chat - Prompt Builder hallucinations

 

OUTPUT provided using Debug Session: 

 

image.png

 

 

 

OUTPUT provided using real-time end to end flow: 

image.png

 

 

 

#Prompt Builder  #Messaging Session  #Agentforce  #Developer Edition Org  #Salesforce Developer

2 answers
  1. Oct 13, 11:31 AM

    Yes. Turn on the Einstein generative AI audit data. You can then see the exact prompt that was sent to the LLM, and the exact response, for every call, including the ones fired from your record-triggered flow.

     

    How to see it

    1. Setup > Einstein Setup: turn on Einstein Generative AI data collection and storage (audit and feedback data). Data Cloud must be provisioned in the org.
    2. Do one real end-to-end transfer again.
    3. In Data Cloud > Query Editor (or a Data Cloud report), look at GenAIGatewayRequest__dlm. The maskedPrompt__c field holds the fully resolved prompt that actually went to the model (after Trust Layer masking), and userId__c shows which user the call ran as. The model's answer is in GenAIGeneration__dlm.responseText__c. New records can take a little while to show up.

     

    What to look for

    • Compare the prompt from a debug run with the prompt from a live run. Placeholders like <ORDER_NO> and <CUSTOMER_ID> are a classic sign that the model received your instructions but not your transcript, so it wrote a generic sample summary. The audit record will show whether the transcript was really in the live prompt.
    • Check userId__c on the live request. When you debug, everything runs as you. In a live transfer, the ownership change is made by routing (the accepting agent, or an automated/system user), so the flow and the prompt template run as that user. Make sure that user has the Prompt Template User permission set and access to everything the template and your Apex read.
    • Check that the prompt action's input in the flow is mapped to your Apex output on the path that runs live, not to a variable that only gets populated when you debug.

     

    If you found this answer helpful, please mark it as helpful.

0/9000
2 answers
  1. Oct 15, 8:20 AM

    You would need to raise a case with Salesforce to recover if you haven't set the security question. 

0/9000

Hello, 

 

I tried creating a support case and calling but have failed in my efforts to get through to anyone. AgentForce AI said the Community method was my best channel to get an old developer org deleted. 

 

I seek the deactivation and permanent deletion of my Developer Edition Org ID: 00DE0000000aULO. 

 

When I tried to deactivate the org in the Company Information setup, it looked like it might work, but after 30 days I received the email message: “Salesforce org 00DE0000000aULO was marked for deactivation by [me on date]. However, a managed package was uploaded from this org after the deactivation request.” There are no installed packages in the Package Manager, but somehow this org may be considered a packaging org and cannot be self-deactivated (according to AgentForce AI)? 

 

How might I  deactivate and delete all the data in this org? I'm retired now and no longer need access to this old testing org or any Salesforce administrator announcements. I am aware that this process is irreversible. 

 

Thank you for any help provided! 

 

#Developer Edition Org

1 answer
0/9000
1 answer
  1. Oct 9, 1:08 PM

    Hello @Omkar Modhave

     

    No, there is no recovery option once a current-generation Salesforce Developer Edition (DE) org has been permanently deleted.  

     

    When a Developer Edition org is inactive for 180 days, Salesforce permanently deactivates it, and it can’t be reactivated. Salesforce Support typically cannot restore expired Developer Edition orgs.

    What You Can Do:

    1. Request a Backup: Ask Support if they have a backup of your org (rare, but worth a try).
    2. Create a New Developer Org: Set up a new org and rebuild your portfolio. Use any saved code or configurations if available.
    3. Use a Sandbox: If you have access to another Salesforce org, replicate your portfolio in a Sandbox.
    4. Backup Strategy: Going forward, back up your org using tools like SFDX, Workbench, or Git.

    https://help.salesforce.com/s/articleView?id=xcloud.admin_de_org_expiration.htm&type=5

0/9000

Prior things to note :  

1. I have enabled gmail integration and sync in a sandbox environment. 

2. I have created a user with system admin profile and assigned the email tem 

Not able to see the related records when I open an email in gmail

 

plate pane as system default. 

 

Issues :  

1. Not able to see related records when I open an email in gmail ( screen shot attached) 

2. not able to see email pane. 

 

#Gmail Integration  #Salesforce Developer  #Developer Edition Org

8 answers
  1. Oct 6, 8:50 AM

    Hi @Kandula Hemanth Kumar

     

    Your screenshots narrow this down. I think the problem is that you're using the wrong Salesforce panel, not a broken configuration. 

    What the screenshots show 

    • Your pane config is fine. The Email Application Pane Default has Related and Tasks tabs with Email Templates, Log Email or Event, People and Contacts. It's the default page and it's assigned to System Administrator. This rules out the "empty pane" theory.
    • Cookies and clickjack aren't the problem. Third-party cookies are allowed, and the clickjack settings look normal. Your Incognito test also proved nothing, because Chrome blocks third-party cookies in Incognito, as your own screenshot says.
    • The panel in your first screenshot is Chrome's side panel, not the Gmail add-on. It has the Salesforce logo and pin/close buttons at the far right, and your last screenshot shows the same panel. That's the Salesforce Chrome extension, whose home view shows Contextual Insights, My Goals and Search. It works on non-email pages because it's authenticated, as you noticed. It isn't what renders the Email Application Pane, so it stays blank when you open an email.
    • The Gmail add-on isn't installed or pinned. In your first screenshot, Gmail's own right sidebar shows only Calendar, Keep, Tasks, Contacts and the "+" button. There's no Salesforce icon. The Email Application Pane (Related / Tasks tabs) appears there, not in the Chrome side panel.

    This is an inference from the screenshots, so verify it with the steps below. 

      

    What to try

     

     

    1. Close the Chrome side panel. It's a distraction for this test.
    2. In Gmail, click the + in the right sidebar (Get add-ons) and install the Salesforce add-on from the Google Workspace Marketplace. Grant the permissions.
    3. Open an email and click the new Salesforce icon in the right sidebar.
    4. When the add-on asks you to log in, use the custom domain / sandbox option with your sandbox My Domain URL. Don't use the default production login.
    5. Test with an email from an address that exists on a Contact or Lead. Your test email is self-sent, so you may see an empty Related tab even once the pane works.

    Other notes

     

     

    • Cookie exceptions: add [*.]salesforce.com alongside your existing [*.]force.com and [*.]sandbox.my.salesforce.com entries.
    • Clickjack setting: you unchecked "headers disabled" only as a test. It didn't help, so restore whatever it was before. I can't tell from the screenshot what the original value was.
    • Chrome flags: I'd skip the chrome://flags suggestion from the thread. It isn't backed by your evidence.

     

    One question: is the Gmail account personal (@

    gmail.com

    ) or Google Workspace? I haven't verified that personal accounts are fully supported for the Gmail add-on, and the "Upgrade" button in your first screenshot suggests personal. If the add-on won't install or authorize, that's the first thing I'd check in Salesforce Help. Also confirm in Setup > Gmail Integration and Sync that the integration toggle is on and the user has the required permission set. I haven't verified the exact permission set name. 

     

    I hope you find the above information helpful. If it does, please mark it as Best Answer to help others too.

0/9000

Hi Salesforce Community,

I need help recovering access to my Salesforce Developer Edition org for Salesforce CLI/VS Code.

I can currently access the org successfully in my browser and can use Setup, Reports, Objects, and other Salesforce features. However, I don't remember the password for this org.

When I use "Forgot Your Password?", Salesforce asks me to answer the security question, but I don't remember the answer. Therefore, I cannot complete the self-service password reset.

I need to connect this existing org to Salesforce CLI so I can retrieve my Salesforce metadata into VS Code. I do not want to create a new org because my existing RideNova project configuration is already in this org.

I can provide the required account/ownership information privately through an appropriate Salesforce support process.

Could someone please guide me on the official process for recovering the password or otherwise regaining CLI/API access to my existing Developer Edition org when I still have access to the org through my browser?

Thank you. 

 

#Developer Edition Org  #Salesforce CLI  #Metadata  #VSCODE

2 answers
  1. Steven Trumble (Strum Consulting) Forum Ambassador
    Oct 1, 10:14 PM

    If you can access the org already I'd just create a new System Admin user and use that to connect to your VS Code. Make sure to use a password manager to store these details for future reference. 

     

    When you're logged in as the new user you could run anonymous apex to force reset the password of your current user if you wanted. (You could probably do this step withotu creating the enw user, but at risk of accidentally locking yourself out I'd make sure you have a second user) 

     

    //Enter username of User to Change

    String username = '';

    //Set the new password

    String password = '';

    User u = [SELECT Id

    FROM User

    WHERE Username = :username

    LIMIT 1];

    Id userId = u.Id;

    System.setPassword(userId,password);

0/9000

 I would like to request that my Developer Edition (DE) Org be reactivated.  Error message stated I need to call for help.  tbowers #Developer Edition Org

8 answers
  1. Sep 30, 7:57 PM

    I have created a new Developer Org with Salesforce CPQ, however I can’t remember my password nor my security answer. At this point, I have created three more and spent 4 days now trying to get into the correct Developer Org that I need to complete some training in the Trailhead Training program. Please advise.

    Thank you,

0/9000

Hi community,

My Developer / Agentforce org has gone inactive because I last logged in back in April. When I try to access it now, it is stuck in a loop showing the "Stay Tuned... We are setting things up" provisioning page and sometimes throws a "We've hit a snag" error.

Since I am within the 180-day inactivity window, my project data should still be there. Can a Salesforce community manager or support moderator please help escalate this to the backend team to manually wake up or refresh my environment?

(Note: I can provide my specific org username securely to a Salesforce employee if requested).

Thank you!Developer Org Stuck on

 

 

 

#Trailhead  #Developer Edition Org  #Agentforce  #Trailhead Playground

2 answers
  1. Sep 22, 5:39 AM

    Helli @Mr Dhruv Please be informed that the expiry date of the Agentforce org is just 45 Days in case you don't login. This looks like the org is expired and deleted 

0/9000

Hi Trailblazer Community, 

 

I’m trying to complete the “Set Up a Warehouse and Resources” module for Set Up Tours for Direct Store Delivery in Agentforce Consumer Goods

. 

 

I created a new Developer Edition using the Trailhead-provided cg-cloud-252 signup link

for the Agentforce Consumer Goods Developer Edition. 

 

After completing the signup, the page says:

However, I haven’t received the verification email yet. I have already checked my Spam/Junk/Promotions

folders and searched my mailbox for Salesforce-related emails. 

 

Could someone please advise me on how I can resend the verification email or activate the newly created Developer Edition

? 

 

I need this specific org because the Trailhead challenge requires the preconfigured Agentforce Consumer Goods environment and sample data

. 

 

Thank you. 

 

#Trailhead Challenges  #Developer Edition Org

2 answers
  1. Sep 4, 9:11 AM

    @Karthik Samak

    If the verification email hasn’t arrived even after checking Spam/Junk/Promotions, I’d recommend contacting Trailhead Help with the signup screenshot and the cg-cloud-252 signup details. Since the challenge requires that specific preconfigured org, avoid creating another Developer Edition using a different signup link. 

0/9000