Interview guides · Productsquads
Productsquads Software Engineer Interview Guide
Productsquads Software Engineer interview guide: reported rounds, questions and how candidates describe the process.
The 60-second brief
At Productsquads, a Software Engineer plays a pivotal role in designing, building, and deploying agile business solutions that bridge the gap between complex enterprise workflows and modern technology. Operating within cross-functional "squads," engineers in this role are responsible for developing scalable applications, automating business processes, and integrating intelligent capabilities directly into client systems. The work is fast-paced, highly collaborative, and deeply impactful, directly influencing how organizations streamline their daily operations. The engineering team at Productsquads heavily leverages modern low-code platforms, specifically Appian, alongside emerging Artificial Intelligence technologies.
This guide is scoped to a Software Engineer candidate at Productsquads.
Focus areas
- Appian (basics)
- Prompting for AI
- AI-based technical questions
The Productsquads interview process
Productsquads candidates report 3 rounds over 3-5 weeks. The stages below are what candidates describe, not a published process.
Online Assessment
Initial assessment to filter candidates based on core analytical and technical skills.
What to demonstrate
- Initial assessment to filter candidates based on core analytical and technical skills
- Depth in Appian (basics)
How to prepare
- Answer aloud and timed: Explain the concept of Activity Chaining in Appian. When should you use it, and what are the performance implications of chaining too many nodes?
- Answer aloud and timed: What is a Record Type in Appian, and how does it differ from a standard database table? Describe how you would configure security and relationships within a Record Type.
Group Discussion
Evaluation of communication and teamwork dynamics through a collaborative discussion.
What to demonstrate
- Evaluation of communication and teamwork dynamics through a collaborative discussion
- Depth in Appian (basics)
How to prepare
- Answer aloud and timed: Walk me through the lifecycle of a Process Model. How do you handle exceptions, escalations, and asynchronous subprocesses?
- Answer aloud and timed: How do you design a dynamic, responsive Interface in Appian to ensure a seamless user experience across different devices?
Technical Round
In-depth technical interview conducted by a lead developer or engineering manager focusing on project history and system design.
What to demonstrate
- In-depth technical interview conducted by a lead developer or engineering manager focusing on project history and system design
- Depth in Appian (basics)
How to prepare
- Answer aloud and timed: Describe a scenario where a database query within an interface is running slowly. How would you troubleshoot and optimize it?
- Answer aloud and timed: Talk about a project you built that integrated AI-based features. What was the architecture, and how did you handle the integration?
Where candidates lose points
Master the Basics of Appian
Even if you are a generalist software engineer, having a baseline understanding of how Appian works is critical. Spend time understanding how process models, interfaces, and record types interact to form a cohesive application.
Be Prepared to Explain Your AI Projects
Do not just list AI on your resume. Be ready to explain the architecture of your AI projects, why you chose specific models, how you structured your prompts, and how you handled integration challenges.
Communicate Structurally in Group Discussions
During the group discussion round, focus on quality over quantity. State your points clearly, acknowledge other candidates' ideas, and guide the conversation toward a logical conclusion.
Questions & practice
Merge partitioned event streams into one ordered feed with bounded lateness
Hard · k-way merge · watermarks · out-of-order streams
The read-model service consumes 64 log partitions carrying about 4,000 events per second in total. Each partition is ordered within itself, but partitions drift by up to 30 seconds, and the activity feed must present a tenant's events in occurred_at order. Produce the merge. State its complexity, the buffer it requires in events and in bytes, what happens when one partition is idle, and what you do with an event that arrives after you have already emitted its position. Payloads average 1 KB.
Approach
- Merge with a min-heap over the 64 partition heads keyed on (occurred_at, event_id): O(log P) per event and O(n log P) overall. The tie-break on event_id is what makes the output deterministic when two partitions carry the same millisecond, which matters because the feed is paginated and a non-deterministic order reorders pages under the reader.
- Emitting the heap head is only correct once every partition has produced everything up to that timestamp, so the emit condition is a watermark: the minimum across partitions of the highest occurred_at seen, less the allowed lateness. Events are held until the watermark passes them, which is what turns individually ordered streams into a jointly ordered one.
- Size the buffer from the lateness rather than guessing: 4,000 events per second times 30 seconds is 120,000 buffered events, and at 1 KB each about 120 MB of heap. That number is the real price of the ordering guarantee and belongs in front of whoever asked for it.
- Handle the idle partition explicitly, because it fails the feed rather than corrupting it: a partition with no traffic never advances its own maximum, so the watermark freezes and output stops entirely. Either every partition emits a periodic idle marker carrying the broker's current time, or the watermark falls back to wall clock for a partition silent beyond a threshold.
Follow-up
- The lateness budget is raised to five minutes. What is the new buffer, and what besides memory changes?
- The consumer restarts. Where does it resume from, and what does the feed look like for the first 30 seconds?
Canonicalise a request body into a stable idempotency fingerprint
Medium · parsing · canonicalisation · hashing
idempotency_key.request_fingerprint is a SHA-256 over the method, path and canonicalised body, and a retry whose fingerprint differs must be rejected with 422 rather than served the stored response. Write the canonicaliser. Bodies are JSON up to 256 KB nested at most 32 levels; clients vary key order, whitespace and unicode escaping, and some send 64-bit ids as JSON numbers. Produce a deterministic byte string such that semantically identical bodies match and any semantic difference does not. State your complexity and name two normalisations you refuse to perform.
Approach
- Parse once into a tree, then re-serialise under fixed rules: object keys sorted, array order preserved, one escaping convention, no insignificant whitespace. Parsing is O(n) and sorting keys is O(k log k) per object, so O(n log n) overall with O(depth) stack, and the 32-level cap is enforced during parsing because hostile nesting is how a canonicaliser becomes a stack overflow.
- Sort keys by their UTF-8 bytes and say why the obvious implementation is wrong in some runtimes: a default string comparison that orders by UTF-16 code units places surrogate pairs, meaning code points from U+10000 up, below U+E000 to U+FFFF, which is not UTF-8 byte order, so two services written in different languages disagree on the same document.
- Do not re-encode numbers through a double. IEEE-754 binary64 represents integers exactly only up to 2^53, so normalising a 19-digit id through a float changes it, and 1 against 1.0 cannot be reconciled without deciding whether they are the same value. Preserve the literal token, and require ids as strings at the API boundary if you want them comparable.
- Reject duplicate keys rather than picking one. JSON permits them and parsers disagree, most keeping the last, so any choice you make ties the fingerprint to a parser detail that the code handling the request does not necessarily share.
Follow-up
- A client sends the same logical request with an extra field your API ignores. Same key, different fingerprint, so you return 422. Is that the right answer?
- Where does the fingerprint get computed relative to request decompression and the body-size limit?
Identify the heaviest tenants in a five-minute window under memory pressure
Medium · top-k · heavy hitters · streaming
The edge service handles about 3,000 requests per second across roughly 50,000 tenants, peaking near 9,000. Expose the 50 heaviest tenants by request count over the trailing five minutes so limits can be tightened before one tenant's backfill starves the fleet. You may not retain five minutes of raw records. Give the exact solution and its memory, then the bounded-memory approximation with its error stated as a formula, and say which you would ship and at what tenant cardinality that choice changes.
Approach
- Do the exact version first, because it is affordable at this cardinality: a ring of 300 one-second counters per tenant, advanced lazily, is 1,200 bytes of counters per tenant and roughly 60 to 90 MB for 50,000 tenants with overhead. Carry a running total and subtract the bucket you overwrite so a window read is O(1) rather than 300 adds.
- Extract the top 50 with a size-k min-heap over the tenant sums: O(d log k) for d tenants, against O(d log d) to sort them all. Maintaining the heap continuously instead of on query requires a tenant-to-heap-index map, because incrementing a count already inside the heap means sifting from a known position, and without that map you rebuild the heap on every request.
- State the approximation precisely rather than gesturing at sketches. Misra-Gries with m counters retains every item whose true count exceeds N/(m+1), and each retained count underestimates the truth by at most N/(m+1). With m = 1,000 and N = 900,000 requests in the window the error is roughly 900 requests, which is fine for spotting a tenant sending 50,000 and useless for ranking two tenants 200 apart.
- Say what breaks when the window slides: Misra-Gries and Space-Saving are insert-only and cannot be decremented as records age out. The workable construction is one summary per sub-window, say ten seconds, with 30 summaries merged at query time, and the merged error is the sum of the per-summary errors, so the bound degrades linearly in the number of sub-windows.
Follow-up
- The heaviest tenant is heavy because of one export job rather than user traffic. Should the limiter treat those as the same tenant?
- Two tenants sit tied at the boundary of the top 50. Does your answer flap, and does the flapping matter?
Keep soft-deleted accounts from blocking re-registration
Easy · soft delete · unique constraints · engine differences
app_user holds user_id, tenant_id, email CITEXT, password_hash (NULL for SSO principals), email_verified_at, auth_version, status ('invited','active','suspended','deactivated'), created_at, updated_at, deleted_at. Two live accounts for one address inside a tenant must be impossible, but an address freed by a soft delete must be reusable, and the same tenant may delete and re-register it repeatedly. Write the uniqueness DDL for PostgreSQL 16, then the equivalent for MySQL 8 where partial indexes do not exist, and say what each permits once three deleted rows already hold that address.
Approach
- Start from what is actually unique: not (tenant_id, email), but (tenant_id, email) among live rows. PostgreSQL says that directly — CREATE UNIQUE INDEX app_user_live_email ON app_user (tenant_id, email) WHERE deleted_at IS NULL. A full constraint over the same two columns burns the address permanently the first time someone deletes an account.
- Keep case-insensitivity in the type or the index, never in the application: CITEXT as given, or UNIQUE (tenant_id, lower(email)) as an expression index where the extension is unavailable. A case-sensitive unique column is exactly how two accounts for one human appear.
- For MySQL 8 the predicate has to move inside the key: add a discriminator column that is a constant 0 while the row is live and is set to user_id on delete, with UNIQUE (tenant_id, email, deleted_marker). Live rows share the constant and still collide; deleted rows differ from each other and stop colliding.
- State the NULL variant and its dependency: leaving the marker NULL for deleted rows also works, because a unique index treats NULLs as distinct — true in MySQL, and true in PostgreSQL only under the default NULLS DISTINCT, which PostgreSQL 15 lets you reverse. Check the polarity against the three existing deleted rows: constant-on-live is what preserves the collision you want, and reversing it silently admits duplicate live accounts.
Follow-up
- A deleted account re-registers with the same address the next day. Do the old resource rows follow the new user_id, and how does the API keep the two principals apart?
- How do you honour an erasure request while resource_revision.actor_user_id still references this table?
Stop tag and share joins from fanning out a page
Medium · join fan-out · semi-joins · many-to-many
resource_tag is (resource_id, tag_id) with PK (resource_id, tag_id); resource_share is (resource_id, shared_with_user_id, permission). The tagged-and-shared listing inner-joins resource to both, filters tenant_id, tag_id = ANY($2) and shared_with_user_id = $3, orders by updated_at DESC and takes 50. Pages come back with fewer than 50 distinct resources and the total in the header is far too high. Explain the row multiplication, rewrite both the page query and the count query so each is correct, and name the index each one needs. PostgreSQL 16.
Approach
- Do the arithmetic against the predicates that are actually there. An inner join emits one row per matching child row, and both joins are filtered: tag_id = ANY($2) admits only the requested tags, shared_with_user_id = $3 admits one user's share rows. So a resource holding three of the requested tags and shared with $3 once yields three rows, not one — the multiplier is its count of matching tags times its share rows for that single user, and that second factor is 1 unless the table admits duplicate (resource_id, shared_with_user_id) pairs. LIMIT 50 then limits rows rather than resources, and COUNT(*) counts pairs — the header is the product, not the population.
- Reject DISTINCT as the fix. It deduplicates after the product has been built, so the planner must materialise and sort the fanned-out set before the LIMIT can apply, and it leaves any SUM or AVG in the same select list wrong.
- Rewrite both filters as semi-joins, keeping resource as the only row source: AND EXISTS (SELECT 1 FROM resource_tag rt WHERE rt.resource_id = r.resource_id AND rt.tag_id = ANY($2)) and the same shape against resource_share. A semi-join stops at the first match per resource and preserves the driving index order, so ORDER BY updated_at DESC, resource_id DESC LIMIT 50 still stops after 50 rows.
- Count with the same predicates and no join at all: SELECT count(*) FROM resource r WHERE r.tenant_id = $1 AND r.status = 'active' AND EXISTS (...) AND EXISTS (...). Nothing multiplies a resource, so the number is the population.
Follow-up
- The filter changes from 'any of these tags' to 'all of these tags'. Rewrite it and state what it costs relative to the ANY form.
- A resource can be shared with the same user twice under different permissions. Does your count change, and should it?
Explain the concept of Activity Chaining in Appian. When should you use it, and what are the performance impli
Medium · Appian & Low-Code Development
Explain the concept of Activity Chaining in Appian. When should you use it, and what are the performance implications of chaining too many nodes?
Approach
- Clarify what is being asked and what a complete answer contains.
- State your assumptions explicitly before working the problem.
- Say what you would check first and why it is the highest-information step.
- Work from the requirement backwards to the design.
Follow-up
- What assumption would you test first?
- How would you know your answer was wrong?
What is a Record Type in Appian, and how does it differ from a standard database table? Describe how you would
Medium · Appian & Low-Code Development
What is a Record Type in Appian, and how does it differ from a standard database table? Describe how you would configure security and relationships within a Record Type.
Approach
- Clarify what is being asked and what a complete answer contains.
- State your assumptions explicitly before working the problem.
- Say what you would check first and why it is the highest-information step.
- Work from the requirement backwards to the design.
Follow-up
- What assumption would you test first?
- How would you know your answer was wrong?
How do you design a dynamic, responsive Interface in Appian to ensure a seamless user experience across differ
Medium · Appian & Low-Code Development
How do you design a dynamic, responsive Interface in Appian to ensure a seamless user experience across different devices?
Approach
- Fix the scope first: who calls this, how often, and what they do when it fails.
- Name the read and write paths separately; they rarely have the same bottleneck.
- Choose a partition key and say what query it makes expensive.
- State the consistency you need, and where you are willing to be stale.
Follow-up
- What breaks first when traffic grows ten times?
- How does this behave when that dependency is down for an hour?
Talk about a project you built that integrated AI-based features. What was the architecture, and how did you h
Medium · AI & Prompt Engineering
Talk about a project you built that integrated AI-based features. What was the architecture, and how did you handle the integration?
Approach
- Say who the caller is and what they do when the call fails halfway.
- Define the identity of a request so a retry cannot double-apply it.
- Separate accepted, pending, failed and confirmed; they are different facts.
- Design the error taxonomy before the success shape; callers branch on it.
Follow-up
- What happens if the caller retries after a timeout?
- How does a client discover it is on an old version of this contract?
What is Prompt Engineering, and what strategies do you use to ensure an LLM (Large Language Model) returns con
Medium · AI & Prompt Engineering
What is Prompt Engineering, and what strategies do you use to ensure an LLM (Large Language Model) returns consistent, structured outputs?
Approach
- Clarify what is being asked and what a complete answer contains.
- State your assumptions explicitly before working the problem.
- Say what you would check first and why it is the highest-information step.
- Work from the requirement backwards to the design.
Follow-up
- What assumption would you test first?
- How would you know your answer was wrong?
Describe how you would design a system where an AI agent acts on user inputs to trigger specific workflows or
Medium · AI & Prompt Engineering
Describe how you would design a system where an AI agent acts on user inputs to trigger specific workflows or API calls.
Approach
- Fix the scope first: who calls this, how often, and what they do when it fails.
- Name the read and write paths separately; they rarely have the same bottleneck.
- Choose a partition key and say what query it makes expensive.
- State the consistency you need, and where you are willing to be stale.
Follow-up
- What breaks first when traffic grows ten times?
- How does this behave when that dependency is down for an hour?
How do you decide when to build a feature using native low-code configurations versus writing custom code or i
Medium · Scenario-Based Problem Solving
How do you decide when to build a feature using native low-code configurations versus writing custom code or integrations?
Approach
- Say who the caller is and what they do when the call fails halfway.
- Define the identity of a request so a retry cannot double-apply it.
- Separate accepted, pending, failed and confirmed; they are different facts.
- Design the error taxonomy before the success shape; callers branch on it.
Follow-up
- What happens if the caller retries after a timeout?
- How does a client discover it is on an old version of this contract?
Describe a scenario where a database query within an interface is running slowly. How would you troubleshoot a
Medium · Appian & Low-Code Development
Describe a scenario where a database query within an interface is running slowly. How would you troubleshoot and optimize it?
Approach
- Establish what changed and when, before forming any theory.
- Pick a bisection that eliminates candidates whichever way it turns out.
- Check the instrumentation before believing the symptom.
- Separate the trigger from the cause; the deploy is rarely the bug.
Follow-up
- What would you look at first, and what would it rule out?
- How would you tell a cause from a coincidence here?
If a critical process model gets stuck in production due to a data mismatch, what steps do you take to debug a
Medium · Scenario-Based Problem Solving
If a critical process model gets stuck in production due to a data mismatch, what steps do you take to debug and resolve the issue without disrupting active users?
Approach
- Establish what changed and when, before forming any theory.
- Pick a bisection that eliminates candidates whichever way it turns out.
- Check the instrumentation before believing the symptom.
- Separate the trigger from the cause; the deploy is rarely the bug.
Follow-up
- What would you look at first, and what would it rule out?
- How would you tell a cause from a coincidence here?
Suggested practice checklist
Built from the rounds and topics Productsquads candidates report.
Day 1 — Map the Productsquads loop
- Write out the reported sequence: Online Assessment, Group Discussion, Technical Round.
- For each round, write one sentence on what it is judging, from the description above, and mark the one you are least ready for.
Deliverable: A one-page map of the 3 reported rounds, with the weakest marked.
Day 2 — Work Appian (basics)
- Spend the session on Appian (basics), which Productsquads candidates report being tested on.
- Write one worked example in Appian (basics) and time yourself on it.
Deliverable: One timed worked example in Appian (basics).
Day 3 — Work Prompting for AI
- Spend the session on Prompting for AI, which Productsquads candidates report being tested on.
- Write one worked example in Prompting for AI and time yourself on it.
Deliverable: One timed worked example in Prompting for AI.
Day 4 — Work AI-based technical questions
- Spend the session on AI-based technical questions, which Productsquads candidates report being tested on.
- Write one worked example in AI-based technical questions and time yourself on it.
Deliverable: One timed worked example in AI-based technical questions.
Day 5 — Answer out loud: Appian & Low-Code Development
- Answer aloud, timed: Explain the concept of Activity Chaining in Appian. When should you use it, and what are the performance implications of chaining too many nodes?
- Answer aloud, timed: What is a Record Type in Appian, and how does it differ from a standard database table? Describe how you would configure security and relationships within a Record Type.
Deliverable: Spoken answers to 2 reported Appian & Low-Code Development question(s), under time.
Day 6 — Answer out loud: AI & Prompt Engineering
- Answer aloud, timed: Talk about a project you built that integrated AI-based features. What was the architecture, and how did you handle the integration?
- Answer aloud, timed: What is Prompt Engineering, and what strategies do you use to ensure an LLM (Large Language Model) returns consistent, structured outputs?
Deliverable: Spoken answers to 2 reported AI & Prompt Engineering question(s), under time.
Day 7 — Answer out loud: Scenario-Based Problem Solving
- Answer aloud, timed: If a critical process model gets stuck in production due to a data mismatch, what steps do you take to debug and resolve the issue without disrupting active users?
- Answer aloud, timed: How do you decide when to build a feature using native low-code configurations versus writing custom code or integrations?
Deliverable: Spoken answers to 2 reported Scenario-Based Problem Solving question(s), under time.
Behavioural preparation
Behavioural rounds judge the decision you made and what it cost.
Walk me through the lifecycle of a Process Model. How do you handle exceptions, escalations, and asynchronous
Medium · Appian & Low-Code Development
Walk me through the lifecycle of a Process Model. How do you handle exceptions, escalations, and asynchronous subprocesses?
Approach
- Pick a story where you made the decision, not one where you watched it.
- State the situation in two sentences and spend the rest on the reasoning.
- Give the blast radius: what could have broken, and what you measured.
- Name the disagreement and how you resolved it with evidence.
Follow-up
- What would you do differently if you ran that again?
- How did you know your change caused the improvement?
How do you handle hallucination or incorrect responses from an AI model in a production-level application?
Medium · AI & Prompt Engineering
Approach
- Pick a story where you made the decision, not one where you watched it.
- State the situation in two sentences and spend the rest on the reasoning.
- Give the blast radius: what could have broken, and what you measured.
- Name the disagreement and how you resolved it with evidence.
Follow-up
- What would you do differently if you ran that again?
- How did you know your change caused the improvement?
Reverse your own decision and price the reversal
Medium · reversibility · measurement · migrations
Describe a technical decision you made and later reversed. Pick one that cost something: a service you split and merged back, a cache you added and removed, an index you created that pushed the planner onto a worse plan, a projection you rebuilt from scratch. State what you believed when you decided, the measurement that changed your mind, how long the wrong version ran in production, and what the reversal cost in migrations, dual writes, and a deprecation window for callers you did not own.
Approach
- State the original rationale without irony, in the version you would still defend given what was known then. If it is not defensible, the story is about carelessness rather than judgement, and a different example serves you better.
- Give the measurement that moved with a before and after: the p99 that did not improve, the cache hit rate that sat at 40%, the plan that flipped to a sequential scan once the table passed a size you can name.
- Cost the reversal in steps, not adjectives: expand-and-contract deploys, the dual-write window, the callers who had to be notified, the rows already written in the wrong shape that had to be backfilled or abandoned.
- Distinguish reversal from rewrite by naming what you kept. Most good reversals preserve the schema or the interface and undo one decision inside it, which is also why they were affordable.
Follow-up
- What in that decision was irreversible, and did you know it was irreversible when you made it?
- How did you tell the people who had already built on top of the original decision?